#315D90#315D90

#315D90 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.2% C 0.096 H 253.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#315D90
RGBrgb(49, 93, 144)
HSLhsl(212, 49%, 38%)
HSVhsv(212, 66%, 56%)
CMYKcmyk(66%, 35.4%, 0%, 43.5%)
CIE-LABlab(38.72, 1.87, -32.65)
CIE-LCHlch(38.72, 32.70, 273.27°)
OKLaboklab(47.18% -0.0274 -0.0925)
OKLCHoklch(47.18% 0.096 253.5)
XYZxyz(10.2132, 10.4943, 27.8675)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D90 #906431
analogous
#318C90 #315D90 #353190
triadic
#315D90 #90315D #5D9031
tetradic
#315D90 #90318C #906431 #319035
square
#315D90 #90318C #906431 #319035
split-complementary
#315D90 #903531 #8C9031
monochromatic
#122235 #214062 #315D90 #417ABE #6E9ACE

Accessibility & contrast

On white

6.78
#315D90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#315D90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315D90
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D90#FFFFFF#000000##FFFFFF
##315D901.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476092
Deuteranopia (green-blind)
#3A578F
Tritanopia (blue-blind)
#006970
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315d90;
/* rgb */ color: rgb(49, 93, 144);
/* oklch */ color: oklch(47.2% 0.096 253.5);
Tailwind
colors: {
  custom: {
    50: '#738ab1',
    500: '#315d90',
    950: '#000000',
  },
}
SCSS
$custom: #315d90;
$custom-light: #738ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#315d90",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 144
  },
  "hsl": {
    "h": 212.211,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47175,
    "c": 0.09649,
    "h": 253.5
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#315D90
secondary
#B59168
accent
#994FD9
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #315D90

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

Preview Lab → · Contrast checker → · Palette generator →

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