#2F4895#2F4895
#2F4895 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.130 H 267.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4895 |
|---|---|
| RGB | rgb(47, 72, 149) |
| HSL | hsl(225, 52%, 38%) |
| HSV | hsv(225, 68%, 58%) |
| CMYK | cmyk(68.5%, 51.7%, 0%, 41.6%) |
| CIE-LAB | lab(32.72, 17.16, -45.25) |
| CIE-LCH | lch(32.72, 48.40, 290.77°) |
| OKLab | oklab(42.62% -0.0064 -0.1299) |
| OKLCH | oklch(42.62% 0.13 267.2) |
| XYZ | xyz(8.9126, 7.4081, 29.3882) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.74
Cobalt
#0047AB
ΔE00 3.93
Dusk Blue
#26538D
ΔE00 5.39
Darkish Blue
#014182
ΔE00 5.44
Blueberry
#464196
ΔE00 5.64
Sapphire
#0F52BA
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4895 #957C2F
analogous
#2F7B95 #2F4895 #492F95
triadic
#2F4895 #952F48 #48952F
tetradic
#2F4895 #952F7B #957C2F #2F9549
square
#2F4895 #952F7B #957C2F #2F9549
split-complementary
#2F4895 #95492F #7B952F
monochromatic
#121B38 #203266 #2F4895 #3F5FC2 #6D86D1
Accessibility & contrast
On white
8.46
#2F4895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2F4895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4895
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4895 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B5298
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f4895; /* rgb */ color: rgb(47, 72, 149); /* oklch */ color: oklch(42.6% 0.130 267.2);
Tailwind
colors: {
custom: {
50: '#747ab5',
500: '#2f4895',
950: '#000000',
},
}SCSS
$custom: #2f4895; $custom-light: #747ab5; $custom-dark: #000000;
JSON
{
"hex": "#2f4895",
"rgb": {
"r": 47,
"g": 72,
"b": 149
},
"hsl": {
"h": 225.294,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.42621,
"c": 0.13002,
"h": 267.2
},
"luminance": 0.07409
}Semantic roles & 50–950 ramp
primary
#2F4895
secondary
#B8A567
accent
#B84CDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80