#315E7D#315E7D

#315E7D is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.4% C 0.071 H 240.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#315E7D
RGBrgb(49, 94, 125)
HSLhsl(204, 44%, 34%)
HSVhsv(204, 61%, 49%)
CMYKcmyk(60.8%, 24.8%, 0%, 51%)
CIE-LABlab(38.09, -5.50, -22.08)
CIE-LCHlch(38.09, 22.76, 256.00°)
OKLaboklab(46.37% -0.0347 -0.0619)
OKLCHoklch(46.37% 0.071 240.7)
XYZxyz(8.9696, 10.1382, 20.8822)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E7D #7D5031
analogous
#317D76 #315E7D #31387D
triadic
#315E7D #7D315E #5E7D31
tetradic
#315E7D #76317D #7D5031 #387D31
square
#315E7D #76317D #7D5031 #387D31
split-complementary
#315E7D #7D3138 #7D7631
monochromatic
#0F1C25 #203D51 #315E7D #427FA9 #669DC3

Accessibility & contrast

On white

6.94
#315E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#315E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E7D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E7D#FFFFFF#000000##FFFFFF
##315E7D1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7E
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#006669
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #315e7d;
/* rgb */ color: rgb(49, 94, 125);
/* oklch */ color: oklch(46.4% 0.071 240.7);
Tailwind
colors: {
  custom: {
    50: '#708ba2',
    500: '#315e7d',
    950: '#000000',
  },
}
SCSS
$custom: #315e7d;
$custom-light: #708ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#315e7d",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 125
  },
  "hsl": {
    "h": 204.474,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.07094,
    "h": 240.7
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#315E7D
secondary
#AA7E60
accent
#8854D3
background
#F7F8FA
surface
#EDF0F3
border
#C8CBCD
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #315E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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