#315E8F#315E8F

#315E8F is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.4% C 0.094 H 252.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#315E8F
RGBrgb(49, 94, 143)
HSLhsl(211, 49%, 38%)
HSVhsv(211, 66%, 56%)
CMYKcmyk(65.7%, 34.3%, 0%, 43.9%)
CIE-LABlab(38.97, 0.87, -31.64)
CIE-LCHlch(38.97, 31.65, 271.58°)
OKLaboklab(47.36% -0.0288 -0.0896)
OKLCHoklch(47.36% 0.094 252.2)
XYZxyz(10.2254, 10.6405, 27.4962)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E8F #8F6231
analogous
#318D8F #315E8F #33318F
triadic
#315E8F #8F315E #5E8F31
tetradic
#315E8F #8F318D #8F6231 #318F33
square
#315E8F #8F318D #8F6231 #318F33
split-complementary
#315E8F #8F3331 #8D8F31
monochromatic
#122234 #214061 #315E8F #417CBD #6D9BCD

Accessibility & contrast

On white

6.71
#315E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#315E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E8F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E8F#FFFFFF#000000##FFFFFF
##315E8F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496191
Deuteranopia (green-blind)
#3C588E
Tritanopia (blue-blind)
#006970
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315e8f;
/* rgb */ color: rgb(49, 94, 143);
/* oklch */ color: oklch(47.4% 0.094 252.2);
Tailwind
colors: {
  custom: {
    50: '#738bb0',
    500: '#315e8f',
    950: '#000000',
  },
}
SCSS
$custom: #315e8f;
$custom-light: #738bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#315e8f",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 143
  },
  "hsl": {
    "h": 211.277,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47355,
    "c": 0.0941,
    "h": 252.2
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#315E8F
secondary
#B59067
accent
#974FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #315E8F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#315E8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva