#245FB5#245FB5
#245FB5 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.149 H 258.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #245FB5 |
|---|---|
| RGB | rgb(36, 95, 181) |
| HSL | hsl(216, 67%, 43%) |
| HSV | hsv(216, 80%, 71%) |
| CMYK | cmyk(80.1%, 47.5%, 0%, 29%) |
| CIE-LAB | lab(41.05, 12.76, -50.96) |
| CIE-LCH | lch(41.05, 52.53, 284.05°) |
| OKLab | oklab(49.57% -0.0302 -0.1464) |
| OKLCH | oklch(49.57% 0.149 258.4) |
| XYZ | xyz(13.1572, 11.8941, 45.3095) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.12
Mid Blue
#276AB3
ΔE00 4.18
Sapphire
#0F52BA
ΔE00 4.48
French Blue
#436BAD
ΔE00 4.57
Denim Blue
#3B5B92
ΔE00 4.85
Denim (survey)
#3B638C
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#245FB5 #B57A24
analogous
#24A8B5 #245FB5 #3124B5
triadic
#245FB5 #B5245F #5FB524
tetradic
#245FB5 #B524A8 #B57A24 #24B531
square
#245FB5 #B524A8 #B57A24 #24B531
split-complementary
#245FB5 #B53124 #A8B524
monochromatic
#10294F #1A4482 #245FB5 #3E7DD9 #719FE3
Accessibility & contrast
On white
6.21
#245FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#245FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #245FB5
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##245FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##245FB5 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#005BB3
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #245fb5; /* rgb */ color: rgb(36, 95, 181); /* oklch */ color: oklch(49.6% 0.149 258.4);
Tailwind
colors: {
custom: {
50: '#768bcc',
500: '#245fb5',
950: '#000000',
},
}SCSS
$custom: #245fb5; $custom-light: #768bcc; $custom-dark: #000000;
JSON
{
"hex": "#245fb5",
"rgb": {
"r": 36,
"g": 95,
"b": 181
},
"hsl": {
"h": 215.586,
"s": 66.82,
"l": 42.549
},
"oklch": {
"l": 0.49568,
"c": 0.14949,
"h": 258.4
},
"luminance": 0.11896
}Semantic roles & 50–950 ramp
primary
#245FB5
secondary
#C9A36B
accent
#A43EEA
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82