#2F5DB3#2F5DB3
#2F5DB3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.146 H 261.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5DB3 |
|---|---|
| RGB | rgb(47, 93, 179) |
| HSL | hsl(219, 58%, 44%) |
| HSV | hsv(219, 74%, 70%) |
| CMYK | cmyk(73.7%, 48%, 0%, 29.8%) |
| CIE-LAB | lab(40.71, 14.61, -50.30) |
| CIE-LCH | lch(40.71, 52.38, 286.19°) |
| OKLab | oklab(49.37% -0.0215 -0.1444) |
| OKLCH | oklch(49.37% 0.146 261.5) |
| XYZ | xyz(13.2204, 11.6863, 44.1980) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.53
Sapphire
#0F52BA
ΔE00 3.78
Denim Blue
#3B5B92
ΔE00 4.23
French Blue
#436BAD
ΔE00 4.86
Dusky Blue
#475F94
ΔE00 5.13
Denim (survey)
#3B638C
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5DB3 #B3852F
analogous
#2F9FB3 #2F5DB3 #432FB3
triadic
#2F5DB3 #B32F5D #5DB32F
tetradic
#2F5DB3 #B32F9F #B3852F #2FB343
square
#2F5DB3 #B32F9F #B3852F #2FB343
split-complementary
#2F5DB3 #B3432F #9FB32F
monochromatic
#162B52 #224483 #2F5DB3 #4F7CD1 #7FA0DD
Accessibility & contrast
On white
6.29
#2F5DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2F5DB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5DB3
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5DB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5DB3 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E66B6
Deuteranopia (green-blind)
#065AB1
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f5db3; /* rgb */ color: rgb(47, 93, 179); /* oklch */ color: oklch(49.4% 0.146 261.5);
Tailwind
colors: {
custom: {
50: '#798aca',
500: '#2f5db3',
950: '#000000',
},
}SCSS
$custom: #2f5db3; $custom-light: #798aca; $custom-dark: #000000;
JSON
{
"hex": "#2f5db3",
"rgb": {
"r": 47,
"g": 93,
"b": 179
},
"hsl": {
"h": 219.091,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.49372,
"c": 0.14595,
"h": 261.5
},
"luminance": 0.11688
}Semantic roles & 50–950 ramp
primary
#2F5DB3
secondary
#C6AB78
accent
#AB46E2
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82