#2562BE#2562BE
#2562BE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.9% C 0.158 H 258.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2562BE |
|---|---|
| RGB | rgb(37, 98, 190) |
| HSL | hsl(216, 67%, 45%) |
| HSV | hsv(216, 81%, 75%) |
| CMYK | cmyk(80.5%, 48.4%, 0%, 25.5%) |
| CIE-LAB | lab(42.53, 14.41, -53.83) |
| CIE-LCH | lch(42.53, 55.72, 284.98°) |
| OKLab | oklab(50.91% -0.0305 -0.1548) |
| OKLCH | oklch(50.91% 0.158 258.9) |
| XYZ | xyz(14.4215, 12.8446, 50.4244) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.14
Mid Blue
#276AB3
ΔE00 3.59
French Blue
#436BAD
ΔE00 3.92
Medium Blue
#2C6FBB
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 5.37
Denim (survey)
#3B638C
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2562BE #BE8125
analogous
#25AFBE #2562BE #3425BE
triadic
#2562BE #BE2562 #62BE25
tetradic
#2562BE #BE25AF #BE8125 #25BE34
square
#2562BE #BE25AF #BE8125 #25BE34
split-complementary
#2562BE #BE3425 #AFBE25
monochromatic
#112D58 #1B488B #2562BE #4581DB #79A4E5
Accessibility & contrast
On white
5.88
#2562BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#2562BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2562BE
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2562BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2562BE | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6CC1
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2562be; /* rgb */ color: rgb(37, 98, 190); /* oklch */ color: oklch(50.9% 0.158 258.9);
Tailwind
colors: {
custom: {
50: '#788ed2',
500: '#2562be',
950: '#000000',
},
}SCSS
$custom: #2562be; $custom-light: #788ed2; $custom-dark: #000000;
JSON
{
"hex": "#2562be",
"rgb": {
"r": 37,
"g": 98,
"b": 190
},
"hsl": {
"h": 216.078,
"s": 67.401,
"l": 44.51
},
"oklch": {
"l": 0.50905,
"c": 0.15774,
"h": 258.9
},
"luminance": 0.12846
}Semantic roles & 50–950 ramp
primary
#2562BE
secondary
#CDA972
accent
#A53EEA
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0A0C14
muted
#7C7D83