#2E4E97 Dark Slate Blue
rgb(46, 78, 151)
Color conversions
- HEX
- #2E4E97
- RGB
- rgb(46, 78, 151)
- RGBA
- rgba(46, 78, 151, 1)
- HSL
- hsl(222, 53%, 39%)
- HSV / HSB
- hsv(222, 70%, 59%)
- CMYK
- cmyk(70%, 48%, 0%, 41%)
Wide-gamut spaces
- XYZ
- xyz(9.435, 8.263, 30.37)
- LAB
- lab(34.52 13.73 -43.56)
- LCH
- lch(34.52 45.68 287.5)
- OKLAB
- oklab(44.03% -0.0128 -0.1248)
- OKLCH
- oklch(44.03% 0.1255 264.12)
- Nearest name
- Dark Slate Blue
Shades, tints and tones
Color harmonies
The hue directly opposite on the color wheel. Maximum contrast, ideal for a single accent against a dominant brand color.
Neighbouring hues that share a temperature. The safest harmony for calm, cohesive interfaces.
Three hues evenly spaced 120 degrees apart. Vibrant and balanced — use one as dominant and the other two sparingly.
The complement split into two adjacent hues. Nearly the contrast of complementary with noticeably less tension.
Four hues at 90-degree intervals. A rich set for illustration, data visualisation, and category coding.
Two complementary pairs offset by 60 degrees. Gives two warm and two cool options in one system.
Similar colors
Opacity variations
#2e4e971a
#2e4e9733
#2e4e974d
#2e4e9766
#2e4e9780
#2e4e9799
#2e4e97b3
#2e4e97cc
#2e4e97e6
#2e4e97ff
Accessibility and contrast
On white
7.92:1
Body text AAA · Large text AA
On black
2.65:1
Body text Fail · Large text Fail
White-on-color contrast is 7.92:1.
Color blindness preview
Protanopia
No red cones — ~1% of men
Protanomaly
Reduced red sensitivity — ~1% of men
Deuteranopia
No green cones — ~1% of men
Deuteranomaly
Reduced green sensitivity — ~5% of men
Tritanopia
No blue cones — very rare
Tritanomaly
Reduced blue sensitivity — very rare
Achromatopsia
No color perception — ~1 in 30,000
Achromatomaly
Partial color perception — rare
Meaning, psychology and brand usage
The default of trust — and of everything else
Blue lowers perceived risk and is consistently rated as the most trustworthy hue, which is exactly why it saturates finance, enterprise software, and social platforms. Its ubiquity is now its weakness: a blue primary is safe but rarely memorable.
Trust, stability, and competence in Western markets; immortality in parts of East Asia; and protection against the evil eye across the Mediterranean and Middle East.
Ultramarine was ground from lapis lazuli and once cost more than gold, which is why medieval painters reserved it for the Virgin's robes. Synthetic ultramarine in 1826 democratised it almost overnight.
Reliable as a primary in any category that must feel secure. Differentiate by pushing toward an unusual chroma or pairing with an unexpected accent rather than defaulting to blue-plus-gray.
Common industries: Finance, Enterprise software, Insurance, Government, Aviation. Pairs well with warm amber for energy, crisp white for clarity, rose for a contemporary contrast.
Code exports
CSS
:root {
--color-dark-slate-blue: #2e4e97;
--color-dark-slate-blue-rgb: 46 78 151;
--color-dark-slate-blue-hsl: 222 53% 39%;
--color-dark-slate-blue-oklch: 44.03% 0.1255 264.12;
}
.element {
color: #2e4e97;
background-color: hsl(222, 53%, 39%);
border: 1px solid rgb(46 78 151 / 40%);
}SCSS
$dark-slate-blue: #2e4e97;
$dark-slate-blue-light: #97a7cb;
$dark-slate-blue-dark: #17274c;
.element {
color: $dark-slate-blue;
background: rgba($dark-slate-blue, 0.12);
&:hover {
color: darken($dark-slate-blue, 8%);
}
}LESS
@dark-slate-blue: #2e4e97;
@dark-slate-blue-light: lighten(@dark-slate-blue, 12%);
@dark-slate-blue-dark: darken(@dark-slate-blue, 12%);
.element {
color: @dark-slate-blue;
background: fade(@dark-slate-blue, 12%);
}Tailwind CSS
/* Tailwind v4 — src/styles.css */
@theme {
--color-dark-slate-blue-50: #d5dcea;
--color-dark-slate-blue-100: #c0cae0;
--color-dark-slate-blue-200: #abb8d5;
--color-dark-slate-blue-300: #8295c1;
--color-dark-slate-blue-400: #5871ac;
--color-dark-slate-blue-500: #2e4e97;
--color-dark-slate-blue-600: #294688;
--color-dark-slate-blue-700: #20376a;
--color-dark-slate-blue-800: #17274c;
--color-dark-slate-blue-900: #0e172d;
}
/* Usage */
<div class="bg-dark-slate-blue-500 text-dark-slate-blue-50 ring-dark-slate-blue-600" />
/* Arbitrary value, no config needed */
<div class="bg-[#2e4e97]" />Bootstrap
// Bootstrap 5 — _variables.scss (before importing bootstrap)
$dark-slate-blue: #2e4e97;
$primary: $dark-slate-blue;
$theme-colors: map-merge($theme-colors, (
"dark-slate-blue": $dark-slate-blue
));
// Generates .text-dark-slate-blue, .bg-dark-slate-blue, .btn-dark-slate-blue
@import "bootstrap/scss/bootstrap";Flutter
import 'package:flutter/material.dart';
const Color darkSlateBlue = Color(0xFF2E4E97);
// As a MaterialColor swatch
const MaterialColor darkSlateBlueSwatch = MaterialColor(0xFF2E4E97, <int, Color>{
50: Color(0xFFD5DCEA),
100: Color(0xFFC0CAE0),
200: Color(0xFFABB8D5),
300: Color(0xFF8295C1),
400: Color(0xFF5871AC),
500: Color(0xFF2E4E97),
600: Color(0xFF294688),
700: Color(0xFF20376A),
800: Color(0xFF17274C),
900: Color(0xFF0E172D),
});Swift / SwiftUI
import SwiftUI
extension Color {
/// #2e4e97 — Dark Slate Blue
static let darkSlateBlue = Color(
red: 0.1804,
green: 0.3059,
blue: 0.5922
)
}
// UIKit
extension UIColor {
static let darkSlateBlue = UIColor(
red: 0.1804,
green: 0.3059,
blue: 0.5922,
alpha: 1.0
)
}Android
<!-- res/values/colors.xml -->
<resources>
<color name="dark_slate_blue">#2E4E97</color>
<color name="dark_slate_blue_translucent">#802E4E97</color>
</resources>
<!-- Jetpack Compose -->
val DarkSlateBlue = Color(0xFF2E4E97)JavaScript
export const DARK_SLATE_BLUE = {
hex: "#2e4e97",
rgb: [46, 78, 151],
hsl: [222, 53, 39],
oklch: "oklch(44.03% 0.1255 264.12)",
};JSON tokens
{
"$schema": "https://design-tokens.org/schema.json",
"dark-slate-blue": {
"$type": "color",
"$value": "#2e4e97",
"$description": "Dark Slate Blue — generated by ColorVerse AI"
}
}