#2F4EAD#2F4EAD
#2F4EAD is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.156 H 266.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EAD |
|---|---|
| RGB | rgb(47, 78, 173) |
| HSL | hsl(225, 57%, 43%) |
| HSV | hsv(225, 73%, 68%) |
| CMYK | cmyk(72.8%, 54.9%, 0%, 32.2%) |
| CIE-LAB | lab(36.12, 22.20, -54.18) |
| CIE-LCH | lch(36.12, 58.56, 292.28°) |
| OKLab | oklab(45.74% -0.0095 -0.156) |
| OKLCH | oklch(45.74% 0.156 266.5) |
| XYZ | xyz(11.4369, 9.0690, 40.6748) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.14
Cobalt
#0047AB
ΔE00 3.28
Cobalt (survey)
#1E488F
ΔE00 5.01
Blue Blue
#2242C7
ΔE00 5.32
Dusk Blue
#26538D
ΔE00 5.79
Denim Blue
#3B5B92
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EAD #AD8E2F
analogous
#2F8DAD #2F4EAD #4F2FAD
triadic
#2F4EAD #AD2F4E #4EAD2F
tetradic
#2F4EAD #AD2F8D #AD8E2F #2FAD4F
square
#2F4EAD #AD2F8D #AD8E2F #2FAD4F
split-complementary
#2F4EAD #AD4F2F #8DAD2F
monochromatic
#15234D #22387D #2F4EAD #4B6BCE #7B93DB
Accessibility & contrast
On white
7.46
#2F4EAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2F4EAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EAD
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EAD | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4ead; /* rgb */ color: rgb(47, 78, 173); /* oklch */ color: oklch(45.7% 0.156 266.5);
Tailwind
colors: {
custom: {
50: '#797fc6',
500: '#2f4ead',
950: '#000000',
},
}SCSS
$custom: #2f4ead; $custom-light: #797fc6; $custom-dark: #000000;
JSON
{
"hex": "#2f4ead",
"rgb": {
"r": 47,
"g": 78,
"b": 173
},
"hsl": {
"h": 225.238,
"s": 57.273,
"l": 43.137
},
"oklch": {
"l": 0.45743,
"c": 0.15633,
"h": 266.5
},
"luminance": 0.0907
}Semantic roles & 50–950 ramp
primary
#2F4EAD
secondary
#C4B074
accent
#BB47E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82