#315D8B#315D8B

#315D8B is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.090 H 251.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#315D8B
RGBrgb(49, 93, 139)
HSLhsl(211, 48%, 37%)
HSVhsv(211, 65%, 55%)
CMYKcmyk(64.7%, 33.1%, 0%, 45.5%)
CIE-LABlab(38.45, 0.06, -30.03)
CIE-LCHlch(38.45, 30.03, 270.11°)
OKLaboklab(46.89% -0.0289 -0.0849)
OKLCHoklch(46.89% 0.09 251.2)
XYZxyz(9.8395, 10.3448, 25.8993)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D8B #8B5F31
analogous
#318A8B #315D8B #32318B
triadic
#315D8B #8B315D #5D8B31
tetradic
#315D8B #8B318A #8B5F31 #318B32
square
#315D8B #8B318A #8B5F31 #318B32
split-complementary
#315D8B #8B3231 #8A8B31
monochromatic
#112031 #213F5E #315D8B #417BB8 #6B9ACB

Accessibility & contrast

On white

6.84
#315D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#315D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315D8B
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D8B#FFFFFF#000000##FFFFFF
##315D8B1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#3D578A
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315d8b;
/* rgb */ color: rgb(49, 93, 139);
/* oklch */ color: oklch(46.9% 0.090 251.2);
Tailwind
colors: {
  custom: {
    50: '#728aad',
    500: '#315d8b',
    950: '#000000',
  },
}
SCSS
$custom: #315d8b;
$custom-light: #728aad;
$custom-dark: #000000;
JSON
{
  "hex": "#315d8b",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 139
  },
  "hsl": {
    "h": 210.667,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46885,
    "c": 0.08968,
    "h": 251.2
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#315D8B
secondary
#B28D65
accent
#9550D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #315D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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