#315F90#315F90

#315F90 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.7% C 0.094 H 251.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#315F90
RGBrgb(49, 95, 144)
HSLhsl(211, 49%, 38%)
HSVhsv(211, 66%, 56%)
CMYKcmyk(66%, 34%, 0%, 43.5%)
CIE-LABlab(39.33, 0.60, -31.68)
CIE-LCHlch(39.33, 31.69, 271.09°)
OKLaboklab(47.65% -0.0296 -0.0897)
OKLCHoklch(47.65% 0.094 251.7)
XYZxyz(10.3910, 10.8500, 27.9268)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F90 #906231
analogous
#318F90 #315F90 #323190
triadic
#315F90 #90315F #5F9031
tetradic
#315F90 #90318F #906231 #319032
square
#315F90 #90318F #906231 #319032
split-complementary
#315F90 #903231 #8F9031
monochromatic
#122335 #214162 #315F90 #417DBE #6E9CCE

Accessibility & contrast

On white

6.62
#315F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#315F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315F90
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F90#FFFFFF#000000##FFFFFF
##315F901.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6292
Deuteranopia (green-blind)
#3D598F
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315f90;
/* rgb */ color: rgb(49, 95, 144);
/* oklch */ color: oklch(47.7% 0.094 251.7);
Tailwind
colors: {
  custom: {
    50: '#738cb1',
    500: '#315f90',
    950: '#000000',
  },
}
SCSS
$custom: #315f90;
$custom-light: #738cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#315f90",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 144
  },
  "hsl": {
    "h": 210.947,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.09444,
    "h": 251.7
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#315F90
secondary
#B59068
accent
#964FD9
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #315F90

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

Preview Lab → · Contrast checker → · Palette generator →

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