#2D5FC9#2D5FC9
#2D5FC9 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.3% C 0.174 H 262.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5FC9 |
|---|---|
| RGB | rgb(45, 95, 201) |
| HSL | hsl(221, 63%, 48%) |
| HSV | hsv(221, 78%, 79%) |
| CMYK | cmyk(77.6%, 52.7%, 0%, 21.2%) |
| CIE-LAB | lab(42.70, 21.40, -59.91) |
| CIE-LCH | lch(42.70, 63.62, 289.66°) |
| OKLab | oklab(51.35% -0.0217 -0.1726) |
| OKLCH | oklch(51.35% 0.174 262.8) |
| XYZ | xyz(15.7132, 12.9575, 56.9199) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.24
Azul
#1D5DEC
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 4.79
Royal Blue
#4169E1
ΔE00 5.12
French Blue
#436BAD
ΔE00 5.15
Mid Blue
#276AB3
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5FC9 #C9972D
analogous
#2DADC9 #2D5FC9 #492DC9
triadic
#2D5FC9 #C92D5F #5FC92D
tetradic
#2D5FC9 #C92DAD #C9972D #2DC949
square
#2D5FC9 #C92DAD #C9972D #2DC949
split-complementary
#2D5FC9 #C9492D #ADC92D
monochromatic
#173065 #224797 #2D5FC9 #5983DA #8BA8E5
Accessibility & contrast
On white
5.85
#2D5FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#2D5FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D5FC9
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5FC9 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F6CCD
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2d5fc9; /* rgb */ color: rgb(45, 95, 201); /* oklch */ color: oklch(51.3% 0.174 262.8);
Tailwind
colors: {
custom: {
50: '#7d8bda',
500: '#2d5fc9',
950: '#000000',
},
}SCSS
$custom: #2d5fc9; $custom-light: #7d8bda; $custom-dark: #000000;
JSON
{
"hex": "#2d5fc9",
"rgb": {
"r": 45,
"g": 95,
"b": 201
},
"hsl": {
"h": 220.769,
"s": 63.415,
"l": 48.235
},
"oklch": {
"l": 0.51347,
"c": 0.17398,
"h": 262.8
},
"luminance": 0.12959
}Semantic roles & 50–950 ramp
primary
#2D5FC9
secondary
#CFB783
accent
#B241E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83