#315883#315883

#315883 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.084 H 252.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#315883
RGBrgb(49, 88, 131)
HSLhsl(211, 46%, 35%)
HSVhsv(211, 63%, 51%)
CMYKcmyk(62.6%, 32.8%, 0%, 48.6%)
CIE-LABlab(36.50, 0.35, -28.23)
CIE-LCHlch(36.50, 28.24, 270.70°)
OKLaboklab(45.22% -0.0256 -0.0797)
OKLCHoklch(45.22% 0.084 252.2)
XYZxyz(8.8516, 9.2703, 22.7912)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315883 #835C31
analogous
#318183 #315883 #333183
triadic
#315883 #833158 #588331
tetradic
#315883 #833181 #835C31 #318333
square
#315883 #833181 #835C31 #318333
split-complementary
#315883 #833331 #818331
monochromatic
#101C2A #203A56 #315883 #4276B0 #6895C6

Accessibility & contrast

On white

7.36
#315883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#315883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315883
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315883#FFFFFF#000000##FFFFFF
##3158831.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A85
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#006267
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #315883;
/* rgb */ color: rgb(49, 88, 131);
/* oklch */ color: oklch(45.2% 0.084 252.2);
Tailwind
colors: {
  custom: {
    50: '#7186a7',
    500: '#315883',
    950: '#000000',
  },
}
SCSS
$custom: #315883;
$custom-light: #7186a7;
$custom-dark: #000000;
JSON
{
  "hex": "#315883",
  "rgb": {
    "r": 49,
    "g": 88,
    "b": 131
  },
  "hsl": {
    "h": 211.463,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.08371,
    "h": 252.2
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#315883
secondary
#AE8A62
accent
#9753D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #315883

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

Preview Lab → · Contrast checker → · Palette generator →

#315883 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva