#2F45B3#2F45B3
#2F45B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.176 H 269.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F45B3 |
|---|---|
| RGB | rgb(47, 69, 179) |
| HSL | hsl(230, 58%, 44%) |
| HSV | hsv(230, 74%, 70%) |
| CMYK | cmyk(73.7%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(34.22, 30.36, -60.83) |
| CIE-LCH | lch(34.22, 67.99, 296.53°) |
| OKLab | oklab(44.47% -0.0025 -0.1757) |
| OKLCH | oklch(44.47% 0.176 269.2) |
| XYZ | xyz(11.4343, 8.1141, 43.6026) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.78
Sapphire (survey)
#2138AB
ΔE00 3.91
Cobalt
#0047AB
ΔE00 4.11
Ocean Blue
#4F42B5
ΔE00 4.87
Blue (survey)
#0343DF
ΔE00 5.44
Sapphire
#0F52BA
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F45B3 #B39D2F
analogous
#2F87B3 #2F45B3 #5B2FB3
triadic
#2F45B3 #B32F45 #45B32F
tetradic
#2F45B3 #B32F87 #B39D2F #2FB35B
square
#2F45B3 #B32F87 #B39D2F #2FB35B
split-complementary
#2F45B3 #B35B2F #87B32F
monochromatic
#162052 #223283 #2F45B3 #4F64D1 #7F8FDD
Accessibility & contrast
On white
8.01
#2F45B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2F45B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F45B3
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F45B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F45B3 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f45b3; /* rgb */ color: rgb(47, 69, 179); /* oklch */ color: oklch(44.5% 0.176 269.2);
Tailwind
colors: {
custom: {
50: '#7b78cb',
500: '#2f45b3',
950: '#000000',
},
}SCSS
$custom: #2f45b3; $custom-light: #7b78cb; $custom-dark: #000000;
JSON
{
"hex": "#2f45b3",
"rgb": {
"r": 47,
"g": 69,
"b": 179
},
"hsl": {
"h": 230,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.44472,
"c": 0.17571,
"h": 269.2
},
"luminance": 0.08115
}Semantic roles & 50–950 ramp
primary
#2F45B3
secondary
#C6B978
accent
#C846E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82