#2F5ABF#2F5ABF
#2F5ABF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.166 H 263.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5ABF |
|---|---|
| RGB | rgb(47, 90, 191) |
| HSL | hsl(222, 61%, 47%) |
| HSV | hsv(222, 75%, 75%) |
| CMYK | cmyk(75.4%, 52.9%, 0%, 25.1%) |
| CIE-LAB | lab(40.70, 21.10, -57.35) |
| CIE-LCH | lch(40.70, 61.11, 290.20°) |
| OKLab | oklab(49.62% -0.0175 -0.1651) |
| OKLCH | oklch(49.62% 0.166 263.9) |
| XYZ | xyz(14.2291, 11.6767, 50.7840) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.11
Denim
#1560BD
ΔE00 3.81
Azul
#1D5DEC
ΔE00 5.54
Denim Blue
#3B5B92
ΔE00 5.67
French Blue
#436BAD
ΔE00 6.15
Warm Blue
#4B57DB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5ABF #BF942F
analogous
#2FA2BF #2F5ABF #4C2FBF
triadic
#2F5ABF #BF2F5A #5ABF2F
tetradic
#2F5ABF #BF2FA2 #BF942F #2FBF4C
square
#2F5ABF #BF2FA2 #BF942F #2FBF4C
split-complementary
#2F5ABF #BF4C2F #A2BF2F
monochromatic
#172C5D #23438E #2F5ABF #567CD5 #87A2E1
Accessibility & contrast
On white
6.30
#2F5ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2F5ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5ABF
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5ABF | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5abf; /* rgb */ color: rgb(47, 90, 191); /* oklch */ color: oklch(49.6% 0.166 263.9);
Tailwind
colors: {
custom: {
50: '#7c88d3',
500: '#2f5abf',
950: '#000000',
},
}SCSS
$custom: #2f5abf; $custom-light: #7c88d3; $custom-dark: #000000;
JSON
{
"hex": "#2f5abf",
"rgb": {
"r": 47,
"g": 90,
"b": 191
},
"hsl": {
"h": 222.083,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.49622,
"c": 0.16607,
"h": 263.9
},
"luminance": 0.11678
}Semantic roles & 50–950 ramp
primary
#2F5ABF
secondary
#CBB47F
accent
#B444E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83