#315F91#315F91

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

Color values

HEX#315F91
RGBrgb(49, 95, 145)
HSLhsl(211, 49%, 38%)
HSVhsv(211, 66%, 57%)
CMYKcmyk(66.2%, 34.5%, 0%, 43.1%)
CIE-LABlab(39.38, 0.97, -32.20)
CIE-LCHlch(39.38, 32.22, 271.72°)
OKLaboklab(47.71% -0.0293 -0.0912)
OKLCHoklch(47.71% 0.096 252.2)
XYZxyz(10.4678, 10.8807, 28.3311)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F91 #916331
analogous
#318F91 #315F91 #333191
triadic
#315F91 #91315F #5F9131
tetradic
#315F91 #91318F #916331 #319133
square
#315F91 #91318F #916331 #319133
split-complementary
#315F91 #913331 #8F9131
monochromatic
#122336 #224163 #315F91 #417DBF #6E9CCE

Accessibility & contrast

On white

6.61
#315F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#315F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315F91
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F91#FFFFFF#000000##FFFFFF
##315F911.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#3C5990
Tritanopia (blue-blind)
#006B71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #315f91;
/* rgb */ color: rgb(49, 95, 145);
/* oklch */ color: oklch(47.7% 0.096 252.2);
Tailwind
colors: {
  custom: {
    50: '#738cb1',
    500: '#315f91',
    950: '#000000',
  },
}
SCSS
$custom: #315f91;
$custom-light: #738cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#315f91",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 145
  },
  "hsl": {
    "h": 211.25,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.0958,
    "h": 252.2
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#315F91
secondary
#B69168
accent
#974FD9
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #315F91

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

Preview Lab → · Contrast checker → · Palette generator →

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