#2F4897#2F4897
#2F4897 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.133 H 267.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4897 |
|---|---|
| RGB | rgb(47, 72, 151) |
| HSL | hsl(226, 53%, 39%) |
| HSV | hsv(226, 69%, 59%) |
| CMYK | cmyk(68.9%, 52.3%, 0%, 40.8%) |
| CIE-LAB | lab(32.86, 17.92, -46.24) |
| CIE-LCH | lch(32.86, 49.59, 291.18°) |
| OKLab | oklab(42.77% -0.0062 -0.1328) |
| OKLCH | oklch(42.77% 0.133 267.3) |
| XYZ | xyz(9.0736, 7.4726, 30.2363) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.90
Cobalt
#0047AB
ΔE00 3.75
Dusk Blue
#26538D
ΔE00 5.50
Blueberry
#464196
ΔE00 5.55
Darkish Blue
#014182
ΔE00 5.62
Sapphire
#0F52BA
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4897 #977E2F
analogous
#2F7C97 #2F4897 #4A2F97
triadic
#2F4897 #972F48 #48972F
tetradic
#2F4897 #972F7C #977E2F #2F974A
square
#2F4897 #972F7C #977E2F #2F974A
split-complementary
#2F4897 #974A2F #7C972F
monochromatic
#121B3A #203268 #2F4897 #405FC3 #6E86D2
Accessibility & contrast
On white
8.42
#2F4897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2F4897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4897
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4897 | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f4897; /* rgb */ color: rgb(47, 72, 151); /* oklch */ color: oklch(42.8% 0.133 267.3);
Tailwind
colors: {
custom: {
50: '#747ab6',
500: '#2f4897',
950: '#000000',
},
}SCSS
$custom: #2f4897; $custom-light: #747ab6; $custom-dark: #000000;
JSON
{
"hex": "#2f4897",
"rgb": {
"r": 47,
"g": 72,
"b": 151
},
"hsl": {
"h": 225.577,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.42773,
"c": 0.13291,
"h": 267.3
},
"luminance": 0.07473
}Semantic roles & 50–950 ramp
primary
#2F4897
secondary
#B9A668
accent
#B94CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80