#2F56AB#2F56AB
#2F56AB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.143 H 263.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F56AB |
|---|---|
| RGB | rgb(47, 86, 171) |
| HSL | hsl(221, 57%, 43%) |
| HSV | hsv(221, 73%, 67%) |
| CMYK | cmyk(72.5%, 49.7%, 0%, 32.9%) |
| CIE-LAB | lab(38.20, 16.16, -49.63) |
| CIE-LCH | lch(38.20, 52.20, 288.04°) |
| OKLab | oklab(47.28% -0.0165 -0.1425) |
| OKLCH | oklch(47.28% 0.143 263.4) |
| XYZ | xyz(11.8482, 10.1989, 39.8644) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.59
Denim Blue
#3B5B92
ΔE00 3.77
Dusk Blue
#26538D
ΔE00 4.44
Denim
#1560BD
ΔE00 4.76
Cobalt
#0047AB
ΔE00 4.97
Dusky Blue
#475F94
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F56AB #AB842F
analogous
#2F94AB #2F56AB #462FAB
triadic
#2F56AB #AB2F56 #56AB2F
tetradic
#2F56AB #AB2F94 #AB842F #2FAB46
square
#2F56AB #AB2F94 #AB842F #2FAB46
split-complementary
#2F56AB #AB462F #94AB2F
monochromatic
#15264B #223E7B #2F56AB #4A73CD #7A98DA
Accessibility & contrast
On white
6.91
#2F56AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2F56AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F56AB
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F56AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F56AB | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2560AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f56ab; /* rgb */ color: rgb(47, 86, 171); /* oklch */ color: oklch(47.3% 0.143 263.4);
Tailwind
colors: {
custom: {
50: '#7885c5',
500: '#2f56ab',
950: '#000000',
},
}SCSS
$custom: #2f56ab; $custom-light: #7885c5; $custom-dark: #000000;
JSON
{
"hex": "#2f56ab",
"rgb": {
"r": 47,
"g": 86,
"b": 171
},
"hsl": {
"h": 221.129,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.47277,
"c": 0.14347,
"h": 263.4
},
"luminance": 0.102
}Semantic roles & 50–950 ramp
primary
#2F56AB
secondary
#C3AA73
accent
#B048E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82