#2F4C95#2F4C95
#2F4C95 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.5% C 0.125 H 265.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C95 |
|---|---|
| RGB | rgb(47, 76, 149) |
| HSL | hsl(223, 52%, 38%) |
| HSV | hsv(223, 68%, 58%) |
| CMYK | cmyk(68.5%, 49%, 0%, 41.6%) |
| CIE-LAB | lab(33.86, 14.48, -43.41) |
| CIE-LCH | lch(33.86, 45.76, 288.45°) |
| OKLab | oklab(43.49% -0.0103 -0.1244) |
| OKLCH | oklch(43.49% 0.125 265.3) |
| XYZ | xyz(9.1797, 7.9423, 29.4772) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.38
Cobalt
#0047AB
ΔE00 3.99
Dusk Blue
#26538D
ΔE00 4.06
Denim Blue
#3B5B92
ΔE00 5.08
Sapphire
#0F52BA
ΔE00 5.35
Darkish Blue
#014182
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C95 #95782F
analogous
#2F7F95 #2F4C95 #452F95
triadic
#2F4C95 #952F4C #4C952F
tetradic
#2F4C95 #952F7F #95782F #2F9545
square
#2F4C95 #952F7F #95782F #2F9545
split-complementary
#2F4C95 #95452F #7F952F
monochromatic
#121D38 #203466 #2F4C95 #3F64C2 #6D8AD1
Accessibility & contrast
On white
8.11
#2F4C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2F4C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C95
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C95 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255598
Deuteranopia (green-blind)
#0D4B94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f4c95; /* rgb */ color: rgb(47, 76, 149); /* oklch */ color: oklch(43.5% 0.125 265.3);
Tailwind
colors: {
custom: {
50: '#747db5',
500: '#2f4c95',
950: '#000000',
},
}SCSS
$custom: #2f4c95; $custom-light: #747db5; $custom-dark: #000000;
JSON
{
"hex": "#2f4c95",
"rgb": {
"r": 47,
"g": 76,
"b": 149
},
"hsl": {
"h": 222.941,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.43492,
"c": 0.12479,
"h": 265.3
},
"luminance": 0.07943
}Semantic roles & 50–950 ramp
primary
#2F4C95
secondary
#B8A167
accent
#B34CDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80