#2F5AA1#2F5AA1
#2F5AA1 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.124 H 259.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5AA1 |
|---|---|
| RGB | rgb(47, 90, 161) |
| HSL | hsl(217, 55%, 41%) |
| HSV | hsv(217, 71%, 63%) |
| CMYK | cmyk(70.8%, 44.1%, 0%, 36.9%) |
| CIE-LAB | lab(38.71, 9.76, -42.87) |
| CIE-LCH | lch(38.71, 43.97, 282.83°) |
| OKLab | oklab(47.46% -0.0219 -0.1225) |
| OKLCH | oklch(47.46% 0.124 259.9) |
| XYZ | xyz(11.2592, 10.4887, 35.1425) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.36
Dusk Blue
#26538D
ΔE00 3.43
Light Navy Blue
#2E5A88
ΔE00 3.57
Denim
#1560BD
ΔE00 4.00
Sapphire
#0F52BA
ΔE00 4.09
Dusky Blue
#475F94
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5AA1 #A1762F
analogous
#2F93A1 #2F5AA1 #3D2FA1
triadic
#2F5AA1 #A12F5A #5AA12F
tetradic
#2F5AA1 #A12F93 #A1762F #2FA13D
square
#2F5AA1 #A12F93 #A1762F #2FA13D
split-complementary
#2F5AA1 #A13D2F #93A12F
monochromatic
#132542 #214072 #2F5AA1 #4576C9 #7499D6
Accessibility & contrast
On white
6.78
#2F5AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2F5AA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5AA1
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5AA1 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3861A4
Deuteranopia (green-blind)
#2356A0
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f5aa1; /* rgb */ color: rgb(47, 90, 161); /* oklch */ color: oklch(47.5% 0.124 259.9);
Tailwind
colors: {
custom: {
50: '#7588bd',
500: '#2f5aa1',
950: '#000000',
},
}SCSS
$custom: #2f5aa1; $custom-light: #7588bd; $custom-dark: #000000;
JSON
{
"hex": "#2f5aa1",
"rgb": {
"r": 47,
"g": 90,
"b": 161
},
"hsl": {
"h": 217.368,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.4746,
"c": 0.12448,
"h": 259.9
},
"luminance": 0.1049
}Semantic roles & 50–950 ramp
primary
#2F5AA1
secondary
#BEA06E
accent
#A64ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81