#315E94#315E94
#315E94 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.101 H 254.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #315E94 |
|---|---|
| RGB | rgb(49, 94, 148) |
| HSL | hsl(213, 50%, 39%) |
| HSV | hsv(213, 67%, 58%) |
| CMYK | cmyk(66.9%, 36.5%, 0%, 42%) |
| CIE-LAB | lab(39.23, 2.69, -34.24) |
| CIE-LCH | lch(39.23, 34.34, 274.50°) |
| OKLab | oklab(47.65% -0.0274 -0.0971) |
| OKLCH | oklch(47.65% 0.101 254.2) |
| XYZ | xyz(10.6127, 10.7954, 29.5357) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.04
Denim (survey)
#3B638C
ΔE00 2.52
Denim Blue
#3B5B92
ΔE00 2.63
Dusk Blue
#26538D
ΔE00 3.72
Dusky Blue
#475F94
ΔE00 4.38
Denim
#1560BD
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315E94 #946731
analogous
#318F94 #315E94 #353194
triadic
#315E94 #94315E #5E9431
tetradic
#315E94 #94318F #946731 #319435
square
#315E94 #94318F #946731 #319435
split-complementary
#315E94 #943531 #8F9431
monochromatic
#132438 #224166 #315E94 #427BC0 #709BD0
Accessibility & contrast
On white
6.65
#315E94 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#315E94 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315E94
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315E94 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466296
Deuteranopia (green-blind)
#385893
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #315e94; /* rgb */ color: rgb(49, 94, 148); /* oklch */ color: oklch(47.6% 0.101 254.2);
Tailwind
colors: {
custom: {
50: '#748bb4',
500: '#315e94',
950: '#000000',
},
}SCSS
$custom: #315e94; $custom-light: #748bb4; $custom-dark: #000000;
JSON
{
"hex": "#315e94",
"rgb": {
"r": 49,
"g": 94,
"b": 148
},
"hsl": {
"h": 212.727,
"s": 50.254,
"l": 38.627
},
"oklch": {
"l": 0.4765,
"c": 0.10094,
"h": 254.2
},
"luminance": 0.10796
}Semantic roles & 50–950 ramp
primary
#315E94
secondary
#B79469
accent
#9A4EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80