#315E8D#315E8D

#315E8D is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.2% C 0.091 H 251.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#315E8D
RGBrgb(49, 94, 141)
HSLhsl(211, 48%, 37%)
HSVhsv(211, 65%, 55%)
CMYKcmyk(65.2%, 33.3%, 0%, 44.7%)
CIE-LABlab(38.86, 0.15, -30.60)
CIE-LCHlch(38.86, 30.60, 270.28°)
OKLaboklab(47.24% -0.0294 -0.0865)
OKLCHoklch(47.24% 0.091 251.2)
XYZxyz(10.0753, 10.5805, 26.7054)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E8D #8D6031
analogous
#318C8D #315E8D #32318D
triadic
#315E8D #8D315E #5E8D31
tetradic
#315E8D #8D318C #8D6031 #318D32
square
#315E8D #8D318C #8D6031 #318D32
split-complementary
#315E8D #8D3231 #8C8D31
monochromatic
#112132 #214060 #315E8D #417CBA #6C9BCC

Accessibility & contrast

On white

6.74
#315E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#315E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E8D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E8D#FFFFFF#000000##FFFFFF
##315E8D1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608F
Deuteranopia (green-blind)
#3D588C
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315e8d;
/* rgb */ color: rgb(49, 94, 141);
/* oklch */ color: oklch(47.2% 0.091 251.2);
Tailwind
colors: {
  custom: {
    50: '#738bae',
    500: '#315e8d',
    950: '#000000',
  },
}
SCSS
$custom: #315e8d;
$custom-light: #738bae;
$custom-dark: #000000;
JSON
{
  "hex": "#315e8d",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 141
  },
  "hsl": {
    "h": 210.652,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4724,
    "c": 0.09139,
    "h": 251.2
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#315E8D
secondary
#B48E66
accent
#9550D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #315E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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