#245FBB#245FBB
#245FBB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.158 H 259.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #245FBB |
|---|---|
| RGB | rgb(36, 95, 187) |
| HSL | hsl(217, 68%, 44%) |
| HSV | hsv(217, 81%, 73%) |
| CMYK | cmyk(80.7%, 49.2%, 0%, 26.7%) |
| CIE-LAB | lab(41.45, 15.09, -53.82) |
| CIE-LCH | lch(41.45, 55.90, 285.66°) |
| OKLab | oklab(50% -0.0292 -0.1548) |
| OKLCH | oklch(50% 0.158 259.3) |
| XYZ | xyz(13.7861, 12.1457, 48.6218) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.15
Sapphire
#0F52BA
ΔE00 4.33
Mid Blue
#276AB3
ΔE00 4.43
French Blue
#436BAD
ΔE00 4.60
Denim Blue
#3B5B92
ΔE00 5.35
Denim (survey)
#3B638C
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245FBB #BB8024
analogous
#24AABB #245FBB #3424BB
triadic
#245FBB #BB245F #5FBB24
tetradic
#245FBB #BB24AA #BB8024 #24BB34
square
#245FBB #BB24AA #BB8024 #24BB34
split-complementary
#245FBB #BB3424 #AABB24
monochromatic
#102B54 #1A4588 #245FBB #427DDB #75A1E4
Accessibility & contrast
On white
6.12
#245FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#245FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #245FBB
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245FBB | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #245fbb; /* rgb */ color: rgb(36, 95, 187); /* oklch */ color: oklch(50.0% 0.158 259.3);
Tailwind
colors: {
custom: {
50: '#778bd0',
500: '#245fbb',
950: '#000000',
},
}SCSS
$custom: #245fbb; $custom-light: #778bd0; $custom-dark: #000000;
JSON
{
"hex": "#245fbb",
"rgb": {
"r": 36,
"g": 95,
"b": 187
},
"hsl": {
"h": 216.556,
"s": 67.713,
"l": 43.725
},
"oklch": {
"l": 0.50003,
"c": 0.15757,
"h": 259.3
},
"luminance": 0.12147
}Semantic roles & 50–950 ramp
primary
#245FBB
secondary
#CCA86F
accent
#A73DEB
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82