#2F498F#2F498F
#2F498F is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.120 H 266.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F498F |
|---|---|
| RGB | rgb(47, 73, 143) |
| HSL | hsl(224, 51%, 37%) |
| HSV | hsv(224, 67%, 56%) |
| CMYK | cmyk(67.1%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(32.59, 14.23, -41.79) |
| CIE-LCH | lch(32.59, 44.15, 288.81°) |
| OKLab | oklab(42.4% -0.0081 -0.1197) |
| OKLCH | oklch(42.4% 0.12 266.1) |
| XYZ | xyz(8.5110, 7.3518, 26.9518) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.27
Cobalt
#0047AB
ΔE00 4.52
Dusk Blue
#26538D
ΔE00 4.77
Darkish Blue
#014182
ΔE00 4.96
Twilight Blue
#0A437A
ΔE00 5.53
Denim Blue
#3B5B92
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F498F #8F752F
analogous
#2F798F #2F498F #452F8F
triadic
#2F498F #8F2F49 #498F2F
tetradic
#2F498F #8F2F79 #8F752F #2F8F45
square
#2F498F #8F2F79 #8F752F #2F8F45
split-complementary
#2F498F #8F452F #798F2F
monochromatic
#111A33 #203161 #2F498F #3E61BD #6A85CE
Accessibility & contrast
On white
8.50
#2F498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2F498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F498F
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F498F | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255192
Deuteranopia (green-blind)
#10498E
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f498f; /* rgb */ color: rgb(47, 73, 143); /* oklch */ color: oklch(42.4% 0.120 266.1);
Tailwind
colors: {
custom: {
50: '#727bb0',
500: '#2f498f',
950: '#000000',
},
}SCSS
$custom: #2f498f; $custom-light: #727bb0; $custom-dark: #000000;
JSON
{
"hex": "#2f498f",
"rgb": {
"r": 47,
"g": 73,
"b": 143
},
"hsl": {
"h": 223.75,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.42395,
"c": 0.11994,
"h": 266.1
},
"luminance": 0.07353
}Semantic roles & 50–950 ramp
primary
#2F498F
secondary
#B59F65
accent
#B44EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F