#315E8E#315E8E

#315E8E is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.3% C 0.093 H 251.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#315E8E
RGBrgb(49, 94, 142)
HSLhsl(211, 49%, 37%)
HSVhsv(211, 65%, 56%)
CMYKcmyk(65.5%, 33.8%, 0%, 44.3%)
CIE-LABlab(38.92, 0.51, -31.12)
CIE-LCHlch(38.92, 31.12, 270.94°)
OKLaboklab(47.3% -0.0291 -0.0881)
OKLCHoklch(47.3% 0.093 251.7)
XYZxyz(10.1500, 10.6104, 27.0990)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E8E #8E6131
analogous
#318C8E #315E8E #33318E
triadic
#315E8E #8E315E #5E8E31
tetradic
#315E8E #8E318C #8E6131 #318E33
square
#315E8E #8E318C #8E6131 #318E33
split-complementary
#315E8E #8E3331 #8C8E31
monochromatic
#122233 #214061 #315E8E #417CBB #6D9BCD

Accessibility & contrast

On white

6.73
#315E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #315E8E
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E8E#FFFFFF#000000##FFFFFF
##315E8E1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496190
Deuteranopia (green-blind)
#3D588D
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #315e8e;
/* rgb */ color: rgb(49, 94, 142);
/* oklch */ color: oklch(47.3% 0.093 251.7);
Tailwind
colors: {
  custom: {
    50: '#738baf',
    500: '#315e8e',
    950: '#000000',
  },
}
SCSS
$custom: #315e8e;
$custom-light: #738baf;
$custom-dark: #000000;
JSON
{
  "hex": "#315e8e",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 142
  },
  "hsl": {
    "h": 210.968,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47298,
    "c": 0.09274,
    "h": 251.7
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#315E8E
secondary
#B48F67
accent
#9650D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #315E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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