#2E4BAF#2E4BAF
#2E4BAF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.163 H 267.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4BAF |
|---|---|
| RGB | rgb(46, 75, 175) |
| HSL | hsl(227, 58%, 43%) |
| HSV | hsv(227, 74%, 69%) |
| CMYK | cmyk(73.7%, 57.1%, 0%, 31.4%) |
| CIE-LAB | lab(35.41, 24.81, -56.52) |
| CIE-LCH | lch(35.41, 61.72, 293.70°) |
| OKLab | oklab(45.25% -0.0079 -0.163) |
| OKLCH | oklch(45.25% 0.163 267.2) |
| XYZ | xyz(11.3780, 8.7069, 41.6301) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.12
Sapphire
#0F52BA
ΔE00 3.78
Blue Blue
#2242C7
ΔE00 4.38
Cobalt (survey)
#1E488F
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.78
Blue (survey)
#0343DF
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4BAF #AF922E
analogous
#2E8BAF #2E4BAF #522EAF
triadic
#2E4BAF #AF2E4B #4BAF2E
tetradic
#2E4BAF #AF2E8B #AF922E #2EAF52
square
#2E4BAF #AF2E8B #AF922E #2EAF52
split-complementary
#2E4BAF #AF522E #8BAF2E
monochromatic
#15214E #21367F #2E4BAF #4B69D0 #7B91DC
Accessibility & contrast
On white
7.66
#2E4BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2E4BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4BAF
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4BAF | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2e4baf; /* rgb */ color: rgb(46, 75, 175); /* oklch */ color: oklch(45.2% 0.163 267.2);
Tailwind
colors: {
custom: {
50: '#797cc8',
500: '#2e4baf',
950: '#000000',
},
}SCSS
$custom: #2e4baf; $custom-light: #797cc8; $custom-dark: #000000;
JSON
{
"hex": "#2e4baf",
"rgb": {
"r": 46,
"g": 75,
"b": 175
},
"hsl": {
"h": 226.512,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.45249,
"c": 0.16315,
"h": 267.2
},
"luminance": 0.08708
}Semantic roles & 50–950 ramp
primary
#2E4BAF
secondary
#C5B374
accent
#BF46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82