#2F4A98#2F4A98
#2F4A98 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.132 H 266.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4A98 |
|---|---|
| RGB | rgb(47, 74, 152) |
| HSL | hsl(225, 53%, 39%) |
| HSV | hsv(225, 69%, 60%) |
| CMYK | cmyk(69.1%, 51.3%, 0%, 40.4%) |
| CIE-LAB | lab(33.49, 16.95, -45.82) |
| CIE-LCH | lch(33.49, 48.86, 290.30°) |
| OKLab | oklab(43.28% -0.008 -0.1315) |
| OKLCH | oklch(43.28% 0.132 266.5) |
| XYZ | xyz(9.2866, 7.7680, 30.7096) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.71
Cobalt
#0047AB
ΔE00 3.63
Dusk Blue
#26538D
ΔE00 4.91
Sapphire
#0F52BA
ΔE00 5.42
Darkish Blue
#014182
ΔE00 5.67
Denim Blue
#3B5B92
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4A98 #987D2F
analogous
#2F7F98 #2F4A98 #482F98
triadic
#2F4A98 #982F4A #4A982F
tetradic
#2F4A98 #982F7F #987D2F #2F9848
square
#2F4A98 #982F7F #987D2F #2F9848
split-complementary
#2F4A98 #98482F #7F982F
monochromatic
#121C3B #213369 #2F4A98 #4062C4 #6F89D2
Accessibility & contrast
On white
8.22
#2F4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2F4A98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4A98
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4A98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4A98 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D549B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f4a98; /* rgb */ color: rgb(47, 74, 152); /* oklch */ color: oklch(43.3% 0.132 266.5);
Tailwind
colors: {
custom: {
50: '#747cb7',
500: '#2f4a98',
950: '#000000',
},
}SCSS
$custom: #2f4a98; $custom-light: #747cb7; $custom-dark: #000000;
JSON
{
"hex": "#2f4a98",
"rgb": {
"r": 47,
"g": 74,
"b": 152
},
"hsl": {
"h": 224.571,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.43278,
"c": 0.13174,
"h": 266.5
},
"luminance": 0.07769
}Semantic roles & 50–950 ramp
primary
#2F4A98
secondary
#BAA569
accent
#B74CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80