#2F4796#2F4796
#2F4796 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.133 H 267.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4796 |
|---|---|
| RGB | rgb(47, 71, 150) |
| HSL | hsl(226, 52%, 39%) |
| HSV | hsv(226, 69%, 59%) |
| CMYK | cmyk(68.7%, 52.7%, 0%, 41.2%) |
| CIE-LAB | lab(32.51, 18.21, -46.20) |
| CIE-LCH | lch(32.51, 49.66, 291.51°) |
| OKLab | oklab(42.48% -0.0053 -0.1327) |
| OKLCH | oklch(42.48% 0.133 267.7) |
| XYZ | xyz(8.9287, 7.3120, 29.7891) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.01
Cobalt
#0047AB
ΔE00 3.90
Blueberry
#464196
ΔE00 5.32
Darkish Blue
#014182
ΔE00 5.58
Dusk Blue
#26538D
ΔE00 5.77
Sapphire (survey)
#2138AB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4796 #967E2F
analogous
#2F7A96 #2F4796 #4A2F96
triadic
#2F4796 #962F47 #47962F
tetradic
#2F4796 #962F7A #967E2F #2F964A
square
#2F4796 #962F7A #967E2F #2F964A
split-complementary
#2F4796 #964A2F #7A962F
monochromatic
#121B39 #203167 #2F4796 #3F5EC3 #6E85D2
Accessibility & contrast
On white
8.53
#2F4796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F4796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4796
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4796 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165199
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f4796; /* rgb */ color: rgb(47, 71, 150); /* oklch */ color: oklch(42.5% 0.133 267.7);
Tailwind
colors: {
custom: {
50: '#7479b5',
500: '#2f4796',
950: '#000000',
},
}SCSS
$custom: #2f4796; $custom-light: #7479b5; $custom-dark: #000000;
JSON
{
"hex": "#2f4796",
"rgb": {
"r": 47,
"g": 71,
"b": 150
},
"hsl": {
"h": 226.019,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.42483,
"c": 0.13278,
"h": 267.7
},
"luminance": 0.07313
}Semantic roles & 50–950 ramp
primary
#2F4796
secondary
#B9A668
accent
#BA4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80