#2F55AB#2F55AB
#2F55AB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.145 H 263.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F55AB |
|---|---|
| RGB | rgb(47, 85, 171) |
| HSL | hsl(222, 57%, 43%) |
| HSV | hsv(222, 73%, 67%) |
| CMYK | cmyk(72.5%, 50.3%, 0%, 32.9%) |
| CIE-LAB | lab(37.91, 16.82, -50.09) |
| CIE-LCH | lch(37.91, 52.84, 288.56°) |
| OKLab | oklab(47.06% -0.0156 -0.1439) |
| OKLCH | oklch(47.06% 0.145 263.8) |
| XYZ | xyz(11.7689, 10.0404, 39.8379) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.51
Denim Blue
#3B5B92
ΔE00 3.95
Dusk Blue
#26538D
ΔE00 4.49
Cobalt
#0047AB
ΔE00 4.69
Denim
#1560BD
ΔE00 5.08
Dusky Blue
#475F94
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F55AB #AB852F
analogous
#2F93AB #2F55AB #472FAB
triadic
#2F55AB #AB2F55 #55AB2F
tetradic
#2F55AB #AB2F93 #AB852F #2FAB47
square
#2F55AB #AB2F93 #AB852F #2FAB47
split-complementary
#2F55AB #AB472F #93AB2F
monochromatic
#15254B #223D7B #2F55AB #4A72CD #7A98DA
Accessibility & contrast
On white
6.98
#2F55AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2F55AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F55AB
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F55AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F55AB | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235FAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f55ab; /* rgb */ color: rgb(47, 85, 171); /* oklch */ color: oklch(47.1% 0.145 263.8);
Tailwind
colors: {
custom: {
50: '#7884c5',
500: '#2f55ab',
950: '#000000',
},
}SCSS
$custom: #2f55ab; $custom-light: #7884c5; $custom-dark: #000000;
JSON
{
"hex": "#2f55ab",
"rgb": {
"r": 47,
"g": 85,
"b": 171
},
"hsl": {
"h": 221.613,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.47061,
"c": 0.14472,
"h": 263.8
},
"luminance": 0.10042
}Semantic roles & 50–950 ramp
primary
#2F55AB
secondary
#C3AA73
accent
#B148E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82