#315B79#315B79

#315B79 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.4% C 0.068 H 241.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#315B79
RGBrgb(49, 91, 121)
HSLhsl(205, 42%, 33%)
HSVhsv(205, 60%, 47%)
CMYKcmyk(59.5%, 24.8%, 0%, 52.5%)
CIE-LABlab(36.96, -5.04, -21.38)
CIE-LCHlch(36.96, 21.97, 256.73°)
OKLaboklab(45.42% -0.0325 -0.0599)
OKLCHoklch(45.42% 0.068 241.5)
XYZxyz(8.4576, 9.5149, 19.4763)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315B79 #794F31
analogous
#317973 #315B79 #313779
triadic
#315B79 #79315B #5B7931
tetradic
#315B79 #733179 #794F31 #377931
square
#315B79 #733179 #794F31 #377931
split-complementary
#315B79 #793137 #797331
monochromatic
#0E1922 #1F3A4D #315B79 #437CA5 #649AC0

Accessibility & contrast

On white

7.23
#315B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#315B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315B79
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315B79#FFFFFF#000000##FFFFFF
##315B791.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7A
Deuteranopia (green-blind)
#445478
Tritanopia (blue-blind)
#006265
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #315b79;
/* rgb */ color: rgb(49, 91, 121);
/* oklch */ color: oklch(45.4% 0.068 241.5);
Tailwind
colors: {
  custom: {
    50: '#6f899f',
    500: '#315b79',
    950: '#000000',
  },
}
SCSS
$custom: #315b79;
$custom-light: #6f899f;
$custom-dark: #000000;
JSON
{
  "hex": "#315b79",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 121
  },
  "hsl": {
    "h": 205,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45419,
    "c": 0.06815,
    "h": 241.5
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#315B79
secondary
#A87D5E
accent
#8A56D2
background
#F7F8F9
surface
#EDF0F2
border
#C8CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #315B79

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

Preview Lab → · Contrast checker → · Palette generator →

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