#2F4795#2F4795
#2F4795 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.131 H 267.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4795 |
|---|---|
| RGB | rgb(47, 71, 149) |
| HSL | hsl(226, 52%, 38%) |
| HSV | hsv(226, 68%, 58%) |
| CMYK | cmyk(68.5%, 52.3%, 0%, 41.6%) |
| CIE-LAB | lab(32.44, 17.84, -45.71) |
| CIE-LCH | lch(32.44, 49.07, 291.32°) |
| OKLab | oklab(42.41% -0.0054 -0.1312) |
| OKLCH | oklch(42.41% 0.131 267.6) |
| XYZ | xyz(8.8485, 7.2799, 29.3668) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.94
Cobalt
#0047AB
ΔE00 3.99
Blueberry
#464196
ΔE00 5.37
Darkish Blue
#014182
ΔE00 5.49
Dusk Blue
#26538D
ΔE00 5.72
Sapphire (survey)
#2138AB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4795 #957D2F
analogous
#2F7A95 #2F4795 #4A2F95
triadic
#2F4795 #952F47 #47952F
tetradic
#2F4795 #952F7A #957D2F #2F954A
square
#2F4795 #952F7A #957D2F #2F954A
split-complementary
#2F4795 #954A2F #7A952F
monochromatic
#121B38 #203166 #2F4795 #3F5EC2 #6D85D1
Accessibility & contrast
On white
8.55
#2F4795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F4795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4795
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4795 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185198
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f4795; /* rgb */ color: rgb(47, 71, 149); /* oklch */ color: oklch(42.4% 0.131 267.6);
Tailwind
colors: {
custom: {
50: '#7479b5',
500: '#2f4795',
950: '#000000',
},
}SCSS
$custom: #2f4795; $custom-light: #7479b5; $custom-dark: #000000;
JSON
{
"hex": "#2f4795",
"rgb": {
"r": 47,
"g": 71,
"b": 149
},
"hsl": {
"h": 225.882,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.42406,
"c": 0.13132,
"h": 267.6
},
"luminance": 0.07281
}Semantic roles & 50–950 ramp
primary
#2F4795
secondary
#B8A567
accent
#BA4CDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80