#2F48A3#2F48A3
#2F48A3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.150 H 268.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F48A3 |
|---|---|
| RGB | rgb(47, 72, 163) |
| HSL | hsl(227, 55%, 41%) |
| HSV | hsv(227, 71%, 64%) |
| CMYK | cmyk(71.2%, 55.8%, 0%, 36.1%) |
| CIE-LAB | lab(33.74, 22.43, -52.07) |
| CIE-LCH | lch(33.74, 56.70, 293.30°) |
| OKLab | oklab(43.71% -0.0052 -0.1499) |
| OKLCH | oklch(43.71% 0.15 268) |
| XYZ | xyz(10.0982, 7.8824, 35.6325) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.11
Cobalt (survey)
#1E488F
ΔE00 4.18
Sapphire
#0F52BA
ΔE00 5.08
Sapphire (survey)
#2138AB
ΔE00 5.21
Blue Blue
#2242C7
ΔE00 5.38
Blueberry
#464196
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F48A3 #A38A2F
analogous
#2F82A3 #2F48A3 #502FA3
triadic
#2F48A3 #A32F48 #48A32F
tetradic
#2F48A3 #A32F82 #A38A2F #2FA350
square
#2F48A3 #A32F82 #A38A2F #2FA350
split-complementary
#2F48A3 #A3502F #82A32F
monochromatic
#141E44 #213373 #2F48A3 #4662CA #758AD7
Accessibility & contrast
On white
8.15
#2F48A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2F48A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F48A3
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F48A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F48A3 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f48a3; /* rgb */ color: rgb(47, 72, 163); /* oklch */ color: oklch(43.7% 0.150 268.0);
Tailwind
colors: {
custom: {
50: '#777abf',
500: '#2f48a3',
950: '#000000',
},
}SCSS
$custom: #2f48a3; $custom-light: #777abf; $custom-dark: #000000;
JSON
{
"hex": "#2f48a3",
"rgb": {
"r": 47,
"g": 72,
"b": 163
},
"hsl": {
"h": 227.069,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.43714,
"c": 0.15001,
"h": 268
},
"luminance": 0.07883
}Semantic roles & 50–950 ramp
primary
#2F48A3
secondary
#BFAE6F
accent
#BE49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81