#315B94#315B94
#315B94 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.104 H 256.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #315B94 |
|---|---|
| RGB | rgb(49, 91, 148) |
| HSL | hsl(215, 50%, 39%) |
| HSV | hsv(215, 67%, 58%) |
| CMYK | cmyk(66.9%, 38.5%, 0%, 42%) |
| CIE-LAB | lab(38.33, 4.61, -35.67) |
| CIE-LCH | lch(38.33, 35.97, 277.36°) |
| OKLab | oklab(46.94% -0.0242 -0.1014) |
| OKLCH | oklch(46.94% 0.104 256.6) |
| XYZ | xyz(10.3511, 10.2722, 29.4485) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.82
Light Navy Blue
#2E5A88
ΔE00 2.05
Dusk Blue
#26538D
ΔE00 2.77
Denim (survey)
#3B638C
ΔE00 3.46
Dusky Blue
#475F94
ΔE00 4.01
Light Navy
#155084
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315B94 #946A31
analogous
#318C94 #315B94 #383194
triadic
#315B94 #94315B #5B9431
tetradic
#315B94 #94318C #946A31 #319438
square
#315B94 #94318C #946A31 #319438
split-complementary
#315B94 #943831 #8C9431
monochromatic
#132238 #223F66 #315B94 #4278C0 #7098D0
Accessibility & contrast
On white
6.87
#315B94 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#315B94 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315B94
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315B94 | 1.00 | 6.87 | 3.05 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#425F96
Deuteranopia (green-blind)
#345693
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #315b94; /* rgb */ color: rgb(49, 91, 148); /* oklch */ color: oklch(46.9% 0.104 256.6);
Tailwind
colors: {
custom: {
50: '#7489b4',
500: '#315b94',
950: '#000000',
},
}SCSS
$custom: #315b94; $custom-light: #7489b4; $custom-dark: #000000;
JSON
{
"hex": "#315b94",
"rgb": {
"r": 49,
"g": 91,
"b": 148
},
"hsl": {
"h": 214.545,
"s": 50.254,
"l": 38.627
},
"oklch": {
"l": 0.46942,
"c": 0.10423,
"h": 256.6
},
"luminance": 0.10273
}Semantic roles & 50–950 ramp
primary
#315B94
secondary
#B79669
accent
#9E4EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80