#2555B3#2555B3
#2555B3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.159 H 262.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2555B3 |
|---|---|
| RGB | rgb(37, 85, 179) |
| HSL | hsl(220, 66%, 42%) |
| HSV | hsv(220, 79%, 70%) |
| CMYK | cmyk(79.3%, 52.5%, 0%, 29.8%) |
| CIE-LAB | lab(38.10, 18.66, -54.54) |
| CIE-LCH | lch(38.10, 57.64, 288.88°) |
| OKLab | oklab(47.28% -0.0221 -0.1571) |
| OKLCH | oklch(47.28% 0.159 262) |
| XYZ | xyz(12.1452, 10.1436, 43.9569) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.45
Denim
#1560BD
ΔE00 4.41
Cobalt
#0047AB
ΔE00 4.57
Denim Blue
#3B5B92
ΔE00 4.77
Dusk Blue
#26538D
ΔE00 4.94
Light Navy Blue
#2E5A88
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2555B3 #B38325
analogous
#259CB3 #2555B3 #3C25B3
triadic
#2555B3 #B32555 #55B325
tetradic
#2555B3 #B3259C #B38325 #25B33C
square
#2555B3 #B3259C #B38325 #25B33C
split-complementary
#2555B3 #B33C25 #9CB325
monochromatic
#10254E #1B3D80 #2555B3 #3E72D7 #7197E2
Accessibility & contrast
On white
6.93
#2555B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2555B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2555B3
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2555B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2555B3 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1261B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2555b3; /* rgb */ color: rgb(37, 85, 179); /* oklch */ color: oklch(47.3% 0.159 262.0);
Tailwind
colors: {
custom: {
50: '#7684ca',
500: '#2555b3',
950: '#000000',
},
}SCSS
$custom: #2555b3; $custom-light: #7684ca; $custom-dark: #000000;
JSON
{
"hex": "#2555b3",
"rgb": {
"r": 37,
"g": 85,
"b": 179
},
"hsl": {
"h": 219.718,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.47275,
"c": 0.15869,
"h": 262
},
"luminance": 0.10145
}Semantic roles & 50–950 ramp
primary
#2555B3
secondary
#C8A96B
accent
#AF3FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82