#2E5BAF#2E5BAF
#2E5BAF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.143 H 261.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5BAF |
|---|---|
| RGB | rgb(46, 91, 175) |
| HSL | hsl(219, 58%, 43%) |
| HSV | hsv(219, 74%, 69%) |
| CMYK | cmyk(73.7%, 48%, 0%, 31.4%) |
| CIE-LAB | lab(39.84, 14.26, -49.35) |
| CIE-LCH | lch(39.84, 51.37, 286.12°) |
| OKLab | oklab(48.61% -0.0211 -0.1416) |
| OKLCH | oklch(48.61% 0.143 261.5) |
| XYZ | xyz(12.6029, 11.1568, 42.0384) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.04
Sapphire
#0F52BA
ΔE00 3.32
Denim Blue
#3B5B92
ΔE00 3.76
Dusky Blue
#475F94
ΔE00 4.94
Dusk Blue
#26538D
ΔE00 5.00
Light Navy Blue
#2E5A88
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5BAF #AF822E
analogous
#2E9BAF #2E5BAF #422EAF
triadic
#2E5BAF #AF2E5B #5BAF2E
tetradic
#2E5BAF #AF2E9B #AF822E #2EAF42
square
#2E5BAF #AF2E9B #AF822E #2EAF42
split-complementary
#2E5BAF #AF422E #9BAF2E
monochromatic
#15294E #21427F #2E5BAF #4B79D0 #7B9DDC
Accessibility & contrast
On white
6.50
#2E5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#2E5BAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5BAF
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5BAF | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2e5baf; /* rgb */ color: rgb(46, 91, 175); /* oklch */ color: oklch(48.6% 0.143 261.5);
Tailwind
colors: {
custom: {
50: '#7888c7',
500: '#2e5baf',
950: '#000000',
},
}SCSS
$custom: #2e5baf; $custom-light: #7888c7; $custom-dark: #000000;
JSON
{
"hex": "#2e5baf",
"rgb": {
"r": 46,
"g": 91,
"b": 175
},
"hsl": {
"h": 219.07,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.48611,
"c": 0.14317,
"h": 261.5
},
"luminance": 0.11158
}Semantic roles & 50–950 ramp
primary
#2E5BAF
secondary
#C5A974
accent
#AB46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82