#2F5CB7#2F5CB7
#2F5CB7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.153 H 262.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5CB7 |
|---|---|
| RGB | rgb(47, 92, 183) |
| HSL | hsl(220, 59%, 45%) |
| HSV | hsv(220, 74%, 72%) |
| CMYK | cmyk(74.3%, 49.7%, 0%, 28.2%) |
| CIE-LAB | lab(40.70, 16.78, -52.68) |
| CIE-LCH | lch(40.70, 55.28, 287.67°) |
| OKLab | oklab(49.45% -0.02 -0.1514) |
| OKLCH | oklch(49.45% 0.153 262.5) |
| XYZ | xyz(13.5436, 11.6760, 46.3305) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.87
Sapphire
#0F52BA
ΔE00 3.42
Denim Blue
#3B5B92
ΔE00 4.66
French Blue
#436BAD
ΔE00 5.24
Dusky Blue
#475F94
ΔE00 5.47
Denim (survey)
#3B638C
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5CB7 #B78A2F
analogous
#2FA0B7 #2F5CB7 #462FB7
triadic
#2F5CB7 #B72F5C #5CB72F
tetradic
#2F5CB7 #B72FA0 #B78A2F #2FB746
square
#2F5CB7 #B72FA0 #B78A2F #2FB746
split-complementary
#2F5CB7 #B7462F #A0B72F
monochromatic
#162B56 #224486 #2F5CB7 #517CD2 #82A0DF
Accessibility & contrast
On white
6.30
#2F5CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2F5CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5CB7
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5CB7 | 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)
#2767BA
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5cb7; /* rgb */ color: rgb(47, 92, 183); /* oklch */ color: oklch(49.4% 0.153 262.5);
Tailwind
colors: {
custom: {
50: '#7a89cd',
500: '#2f5cb7',
950: '#000000',
},
}SCSS
$custom: #2f5cb7; $custom-light: #7a89cd; $custom-dark: #000000;
JSON
{
"hex": "#2f5cb7",
"rgb": {
"r": 47,
"g": 92,
"b": 183
},
"hsl": {
"h": 220.147,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.49445,
"c": 0.15268,
"h": 262.5
},
"luminance": 0.11678
}Semantic roles & 50–950 ramp
primary
#2F5CB7
secondary
#C8AE7A
accent
#AE45E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82