#315E90#315E90

#315E90 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.095 H 252.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#315E90
RGBrgb(49, 94, 144)
HSLhsl(212, 49%, 38%)
HSVhsv(212, 66%, 56%)
CMYKcmyk(66%, 34.7%, 0%, 43.5%)
CIE-LABlab(39.02, 1.23, -32.16)
CIE-LCHlch(39.02, 32.19, 272.20°)
OKLaboklab(47.41% -0.0285 -0.0911)
OKLCHoklch(47.41% 0.095 252.6)
XYZxyz(10.3015, 10.6710, 27.8970)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E90 #906331
analogous
#318D90 #315E90 #333190
triadic
#315E90 #90315E #5E9031
tetradic
#315E90 #90318D #906331 #319033
square
#315E90 #90318D #906331 #319033
split-complementary
#315E90 #903331 #8D9031
monochromatic
#122235 #214062 #315E90 #417CBE #6E9BCE

Accessibility & contrast

On white

6.70
#315E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315E90
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E90#FFFFFF#000000##FFFFFF
##315E901.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486192
Deuteranopia (green-blind)
#3B588F
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315e90;
/* rgb */ color: rgb(49, 94, 144);
/* oklch */ color: oklch(47.4% 0.095 252.6);
Tailwind
colors: {
  custom: {
    50: '#738bb1',
    500: '#315e90',
    950: '#000000',
  },
}
SCSS
$custom: #315e90;
$custom-light: #738bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#315e90",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 144
  },
  "hsl": {
    "h": 211.579,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.09546,
    "h": 252.6
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#315E90
secondary
#B59068
accent
#984FD9
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #315E90

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

Preview Lab → · Contrast checker → · Palette generator →

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