#2F4BAE#2F4BAE
#2F4BAE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.161 H 267.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BAE |
|---|---|
| RGB | rgb(47, 75, 174) |
| HSL | hsl(227, 57%, 43%) |
| HSV | hsv(227, 73%, 68%) |
| CMYK | cmyk(73%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(35.38, 24.57, -55.97) |
| CIE-LCH | lch(35.38, 61.12, 293.70°) |
| OKLab | oklab(45.21% -0.0071 -0.1613) |
| OKLCH | oklch(45.21% 0.161 267.5) |
| XYZ | xyz(11.3257, 8.6913, 41.1169) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.17
Sapphire
#0F52BA
ΔE00 3.88
Blue Blue
#2242C7
ΔE00 4.47
Cobalt (survey)
#1E488F
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.78
Blueberry
#464196
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BAE #AE922F
analogous
#2F8AAE #2F4BAE #532FAE
triadic
#2F4BAE #AE2F4B #4BAE2F
tetradic
#2F4BAE #AE2F8A #AE922F #2FAE53
square
#2F4BAE #AE2F8A #AE922F #2FAE53
split-complementary
#2F4BAE #AE532F #8AAE2F
monochromatic
#15214E #22367E #2F4BAE #4C69CF #7C91DC
Accessibility & contrast
On white
7.67
#2F4BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2F4BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BAE
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BAE | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4bae; /* rgb */ color: rgb(47, 75, 174); /* oklch */ color: oklch(45.2% 0.161 267.5);
Tailwind
colors: {
custom: {
50: '#797cc7',
500: '#2f4bae',
950: '#000000',
},
}SCSS
$custom: #2f4bae; $custom-light: #797cc7; $custom-dark: #000000;
JSON
{
"hex": "#2f4bae",
"rgb": {
"r": 47,
"g": 75,
"b": 174
},
"hsl": {
"h": 226.772,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.45214,
"c": 0.16148,
"h": 267.5
},
"luminance": 0.08692
}Semantic roles & 50–950 ramp
primary
#2F4BAE
secondary
#C4B375
accent
#BF47E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82