#315F95#315F95
#315F95 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.9% C 0.101 H 253.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #315F95 |
|---|---|
| RGB | rgb(49, 95, 149) |
| HSL | hsl(212, 51%, 39%) |
| HSV | hsv(212, 67%, 58%) |
| CMYK | cmyk(67.1%, 36.2%, 0%, 41.6%) |
| CIE-LAB | lab(39.59, 2.42, -34.27) |
| CIE-LCH | lch(39.59, 34.36, 274.04°) |
| OKLab | oklab(47.95% -0.0282 -0.0972) |
| OKLCH | oklch(47.95% 0.101 253.8) |
| XYZ | xyz(10.7817, 11.0062, 29.9842) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.28
Denim (survey)
#3B638C
ΔE00 2.32
Denim Blue
#3B5B92
ΔE00 2.91
Dusk Blue
#26538D
ΔE00 4.08
Denim
#1560BD
ΔE00 4.28
Dusky Blue
#475F94
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315F95 #956731
analogous
#319195 #315F95 #353195
triadic
#315F95 #95315F #5F9531
tetradic
#315F95 #953191 #956731 #319535
square
#315F95 #953191 #956731 #319535
split-complementary
#315F95 #953531 #919531
monochromatic
#132439 #224267 #315F95 #427DC1 #709CD0
Accessibility & contrast
On white
6.56
#315F95 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#315F95 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315F95
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315F95 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476297
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #315f95; /* rgb */ color: rgb(49, 95, 149); /* oklch */ color: oklch(47.9% 0.101 253.8);
Tailwind
colors: {
custom: {
50: '#748cb4',
500: '#315f95',
950: '#000000',
},
}SCSS
$custom: #315f95; $custom-light: #748cb4; $custom-dark: #000000;
JSON
{
"hex": "#315f95",
"rgb": {
"r": 49,
"g": 95,
"b": 149
},
"hsl": {
"h": 212.4,
"s": 50.505,
"l": 38.824
},
"oklch": {
"l": 0.47947,
"c": 0.10125,
"h": 253.8
},
"luminance": 0.11007
}Semantic roles & 50–950 ramp
primary
#315F95
secondary
#B8946A
accent
#9A4EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80