#2F5DB2#2F5DB2
#2F5DB2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.145 H 261.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5DB2 |
|---|---|
| RGB | rgb(47, 93, 178) |
| HSL | hsl(219, 58%, 44%) |
| HSV | hsv(219, 74%, 70%) |
| CMYK | cmyk(73.6%, 47.8%, 0%, 30.2%) |
| CIE-LAB | lab(40.65, 14.23, -49.82) |
| CIE-LCH | lch(40.65, 51.81, 285.94°) |
| OKLab | oklab(49.3% -0.0216 -0.1429) |
| OKLCH | oklch(49.3% 0.145 261.4) |
| XYZ | xyz(13.1196, 11.6460, 43.6673) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.54
Sapphire
#0F52BA
ΔE00 3.80
Denim Blue
#3B5B92
ΔE00 4.12
French Blue
#436BAD
ΔE00 4.85
Dusky Blue
#475F94
ΔE00 5.06
Denim (survey)
#3B638C
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5DB2 #B2842F
analogous
#2F9FB2 #2F5DB2 #432FB2
triadic
#2F5DB2 #B22F5D #5DB22F
tetradic
#2F5DB2 #B22F9F #B2842F #2FB243
square
#2F5DB2 #B22F9F #B2842F #2FB243
split-complementary
#2F5DB2 #B2432F #9FB22F
monochromatic
#152A51 #224482 #2F5DB2 #4E7CD0 #7EA0DD
Accessibility & contrast
On white
6.31
#2F5DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#2F5DB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5DB2
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5DB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5DB2 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#0A5AB0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5db2; /* rgb */ color: rgb(47, 93, 178); /* oklch */ color: oklch(49.3% 0.145 261.4);
Tailwind
colors: {
custom: {
50: '#798ac9',
500: '#2f5db2',
950: '#000000',
},
}SCSS
$custom: #2f5db2; $custom-light: #798ac9; $custom-dark: #000000;
JSON
{
"hex": "#2f5db2",
"rgb": {
"r": 47,
"g": 93,
"b": 178
},
"hsl": {
"h": 218.931,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.49301,
"c": 0.14457,
"h": 261.4
},
"luminance": 0.11647
}Semantic roles & 50–950 ramp
primary
#2F5DB2
secondary
#C6AA77
accent
#AB46E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82