#2F48AC#2F48AC
#2F48AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.163 H 268.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F48AC |
|---|---|
| RGB | rgb(47, 72, 172) |
| HSL | hsl(228, 57%, 43%) |
| HSV | hsv(228, 73%, 67%) |
| CMYK | cmyk(72.7%, 58.1%, 0%, 32.5%) |
| CIE-LAB | lab(34.43, 25.80, -56.33) |
| CIE-LCH | lch(34.43, 61.96, 294.61°) |
| OKLab | oklab(44.45% -0.0048 -0.1624) |
| OKLCH | oklch(44.45% 0.163 268.3) |
| XYZ | xyz(10.9335, 8.2165, 40.0315) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.25
Blue Blue
#2242C7
ΔE00 4.13
Sapphire
#0F52BA
ΔE00 4.76
Sapphire (survey)
#2138AB
ΔE00 4.83
Cobalt (survey)
#1E488F
ΔE00 5.30
Blueberry
#464196
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F48AC #AC932F
analogous
#2F86AC #2F48AC #542FAC
triadic
#2F48AC #AC2F48 #48AC2F
tetradic
#2F48AC #AC2F86 #AC932F #2FAC54
square
#2F48AC #AC2F86 #AC932F #2FAC54
split-complementary
#2F48AC #AC542F #86AC2F
monochromatic
#15204C #22347C #2F48AC #4B65CE #7B8EDB
Accessibility & contrast
On white
7.94
#2F48AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2F48AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F48AC
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F48AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F48AC | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f48ac; /* rgb */ color: rgb(47, 72, 172); /* oklch */ color: oklch(44.5% 0.163 268.3);
Tailwind
colors: {
custom: {
50: '#797ac5',
500: '#2f48ac',
950: '#000000',
},
}SCSS
$custom: #2f48ac; $custom-light: #797ac5; $custom-dark: #000000;
JSON
{
"hex": "#2f48ac",
"rgb": {
"r": 47,
"g": 72,
"b": 172
},
"hsl": {
"h": 228,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.44451,
"c": 0.1625,
"h": 268.3
},
"luminance": 0.08218
}Semantic roles & 50–950 ramp
primary
#2F48AC
secondary
#C3B374
accent
#C247E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82