#315B91#315B91

#315B91 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.100 H 255.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#315B91
RGBrgb(49, 91, 145)
HSLhsl(214, 49%, 38%)
HSVhsv(214, 66%, 57%)
CMYKcmyk(66.2%, 37.2%, 0%, 43.1%)
CIE-LABlab(38.16, 3.51, -34.13)
CIE-LCHlch(38.16, 34.30, 275.86°)
OKLaboklab(46.76% -0.025 -0.0969)
OKLCHoklch(46.76% 0.1 255.5)
XYZxyz(10.1167, 10.1785, 28.2141)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315B91 #916731
analogous
#318B91 #315B91 #373191
triadic
#315B91 #91315B #5B9131
tetradic
#315B91 #91318B #916731 #319137
square
#315B91 #91318B #916731 #319137
split-complementary
#315B91 #913731 #8B9131
monochromatic
#122236 #223E63 #315B91 #4178BF #6E98CE

Accessibility & contrast

On white

6.92
#315B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#315B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315B91
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315B91#FFFFFF#000000##FFFFFF
##315B911.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F93
Deuteranopia (green-blind)
#365690
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315b91;
/* rgb */ color: rgb(49, 91, 145);
/* oklch */ color: oklch(46.8% 0.100 255.5);
Tailwind
colors: {
  custom: {
    50: '#7389b1',
    500: '#315b91',
    950: '#000000',
  },
}
SCSS
$custom: #315b91;
$custom-light: #7389b1;
$custom-dark: #000000;
JSON
{
  "hex": "#315b91",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 145
  },
  "hsl": {
    "h": 213.75,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46759,
    "c": 0.10002,
    "h": 255.5
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#315B91
secondary
#B69468
accent
#9D4FD9
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #315B91

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

Preview Lab → · Contrast checker → · Palette generator →

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