#2F48AF#2F48AF
#2F48AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.167 H 268.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F48AF |
|---|---|
| RGB | rgb(47, 72, 175) |
| HSL | hsl(228, 58%, 44%) |
| HSV | hsv(228, 73%, 69%) |
| CMYK | cmyk(73.1%, 58.9%, 0%, 31.4%) |
| CIE-LAB | lab(34.67, 26.92, -57.73) |
| CIE-LCH | lch(34.67, 63.70, 295.00°) |
| OKLab | oklab(44.7% -0.0047 -0.1665) |
| OKLCH | oklch(44.7% 0.167 268.4) |
| XYZ | xyz(11.2248, 8.3330, 41.5660) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.41
Blue Blue
#2242C7
ΔE00 3.74
Sapphire
#0F52BA
ΔE00 4.72
Sapphire (survey)
#2138AB
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F48AF #AF962F
analogous
#2F88AF #2F48AF #562FAF
triadic
#2F48AF #AF2F48 #48AF2F
tetradic
#2F48AF #AF2F88 #AF962F #2FAF56
square
#2F48AF #AF2F88 #AF962F #2FAF56
split-complementary
#2F48AF #AF562F #88AF2F
monochromatic
#15204F #22347F #2F48AF #4C66CF #7C8FDC
Accessibility & contrast
On white
7.87
#2F48AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2F48AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F48AF
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F48AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F48AF | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f48af; /* rgb */ color: rgb(47, 72, 175); /* oklch */ color: oklch(44.7% 0.167 268.4);
Tailwind
colors: {
custom: {
50: '#797ac8',
500: '#2f48af',
950: '#000000',
},
}SCSS
$custom: #2f48af; $custom-light: #797ac8; $custom-dark: #000000;
JSON
{
"hex": "#2f48af",
"rgb": {
"r": 47,
"g": 72,
"b": 175
},
"hsl": {
"h": 228.281,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.44703,
"c": 0.16661,
"h": 268.4
},
"luminance": 0.08334
}Semantic roles & 50–950 ramp
primary
#2F48AF
secondary
#C4B575
accent
#C347E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82