#315E9F#315E9F
#315E9F is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.3% C 0.116 H 257.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #315E9F |
|---|---|
| RGB | rgb(49, 94, 159) |
| HSL | hsl(215, 53%, 41%) |
| HSV | hsv(215, 69%, 62%) |
| CMYK | cmyk(69.2%, 40.9%, 0%, 37.6%) |
| CIE-LAB | lab(39.85, 6.75, -39.85) |
| CIE-LCH | lch(39.85, 40.41, 279.61°) |
| OKLab | oklab(48.33% -0.0246 -0.1136) |
| OKLCH | oklch(48.33% 0.116 257.8) |
| XYZ | xyz(11.5251, 11.1604, 34.3410) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.57
Light Navy Blue
#2E5A88
ΔE00 3.32
Denim (survey)
#3B638C
ΔE00 3.42
Denim
#1560BD
ΔE00 3.48
Dusky Blue
#475F94
ΔE00 4.09
Dusk Blue
#26538D
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315E9F #9F7231
analogous
#31959F #315E9F #3B319F
triadic
#315E9F #9F315E #5E9F31
tetradic
#315E9F #9F3195 #9F7231 #319F3B
square
#315E9F #9F3195 #9F7231 #319F3B
split-complementary
#315E9F #9F3B31 #959F31
monochromatic
#142741 #234270 #315E9F #477BC6 #769DD5
Accessibility & contrast
On white
6.50
#315E9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#315E9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315E9F
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315E9F | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4063A2
Deuteranopia (green-blind)
#2F599E
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #315e9f; /* rgb */ color: rgb(49, 94, 159); /* oklch */ color: oklch(48.3% 0.116 257.8);
Tailwind
colors: {
custom: {
50: '#768bbc',
500: '#315e9f',
950: '#000000',
},
}SCSS
$custom: #315e9f; $custom-light: #768bbc; $custom-dark: #000000;
JSON
{
"hex": "#315e9f",
"rgb": {
"r": 49,
"g": 94,
"b": 159
},
"hsl": {
"h": 215.455,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.4833,
"c": 0.11622,
"h": 257.8
},
"luminance": 0.11162
}Semantic roles & 50–950 ramp
primary
#315E9F
secondary
#BD9D6F
accent
#A14CDC
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81