#2F45A3#2F45A3
#2F45A3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.154 H 269.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F45A3 |
|---|---|
| RGB | rgb(47, 69, 163) |
| HSL | hsl(229, 55%, 41%) |
| HSV | hsv(229, 71%, 64%) |
| CMYK | cmyk(71.2%, 57.7%, 0%, 36.1%) |
| CIE-LAB | lab(32.93, 24.43, -53.38) |
| CIE-LCH | lch(32.93, 58.71, 294.59°) |
| OKLab | oklab(43.11% -0.0027 -0.1538) |
| OKLCH | oklch(43.11% 0.154 269) |
| XYZ | xyz(9.9090, 7.5039, 35.5694) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.51
Sapphire (survey)
#2138AB
ΔE00 4.24
Cobalt (survey)
#1E488F
ΔE00 4.73
Blueberry
#464196
ΔE00 4.77
Blue Blue
#2242C7
ΔE00 5.02
Sapphire
#0F52BA
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F45A3 #A38D2F
analogous
#2F7FA3 #2F45A3 #532FA3
triadic
#2F45A3 #A32F45 #45A32F
tetradic
#2F45A3 #A32F7F #A38D2F #2FA353
square
#2F45A3 #A32F7F #A38D2F #2FA353
split-complementary
#2F45A3 #A3532F #7FA32F
monochromatic
#141D44 #213173 #2F45A3 #465FCA #7588D7
Accessibility & contrast
On white
8.40
#2F45A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2F45A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F45A3
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F45A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F45A3 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f45a3; /* rgb */ color: rgb(47, 69, 163); /* oklch */ color: oklch(43.1% 0.154 269.0);
Tailwind
colors: {
custom: {
50: '#7778bf',
500: '#2f45a3',
950: '#000000',
},
}SCSS
$custom: #2f45a3; $custom-light: #7778bf; $custom-dark: #000000;
JSON
{
"hex": "#2f45a3",
"rgb": {
"r": 47,
"g": 69,
"b": 163
},
"hsl": {
"h": 228.621,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.43107,
"c": 0.15384,
"h": 269
},
"luminance": 0.07505
}Semantic roles & 50–950 ramp
primary
#2F45A3
secondary
#BFB06F
accent
#C249DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81