#2F478F#2F478F
#2F478F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.123 H 267.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F478F |
|---|---|
| RGB | rgb(47, 71, 143) |
| HSL | hsl(225, 51%, 37%) |
| HSV | hsv(225, 67%, 56%) |
| CMYK | cmyk(67.1%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(32.02, 15.58, -42.72) |
| CIE-LCH | lch(32.02, 45.47, 290.04°) |
| OKLab | oklab(41.96% -0.0061 -0.1224) |
| OKLCH | oklch(41.96% 0.123 267.1) |
| XYZ | xyz(8.3817, 7.0932, 26.9087) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.62
Cobalt
#0047AB
ΔE00 4.59
Darkish Blue
#014182
ΔE00 5.03
Dusk Blue
#26538D
ΔE00 5.46
Twilight Blue
#0A437A
ΔE00 5.71
Blueberry
#464196
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F478F #8F772F
analogous
#2F778F #2F478F #472F8F
triadic
#2F478F #8F2F47 #478F2F
tetradic
#2F478F #8F2F77 #8F772F #2F8F47
square
#2F478F #8F2F77 #8F772F #2F8F47
split-complementary
#2F478F #8F472F #778F2F
monochromatic
#111933 #203061 #2F478F #3E5EBD #6A83CE
Accessibility & contrast
On white
8.68
#2F478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2F478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F478F
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F478F | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#07478E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f478f; /* rgb */ color: rgb(47, 71, 143); /* oklch */ color: oklch(42.0% 0.123 267.1);
Tailwind
colors: {
custom: {
50: '#7379b0',
500: '#2f478f',
950: '#000000',
},
}SCSS
$custom: #2f478f; $custom-light: #7379b0; $custom-dark: #000000;
JSON
{
"hex": "#2f478f",
"rgb": {
"r": 47,
"g": 71,
"b": 143
},
"hsl": {
"h": 225,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.41956,
"c": 0.12256,
"h": 267.1
},
"luminance": 0.07094
}Semantic roles & 50–950 ramp
primary
#2F478F
secondary
#B5A165
accent
#B74EDA
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F