#315E8A#315E8A

#315E8A is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.087 H 249.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#315E8A
RGBrgb(49, 94, 138)
HSLhsl(210, 48%, 37%)
HSVhsv(210, 64%, 54%)
CMYKcmyk(64.5%, 31.9%, 0%, 45.9%)
CIE-LABlab(38.71, -0.93, -29.02)
CIE-LCHlch(38.71, 29.04, 268.16°)
OKLaboklab(47.07% -0.0303 -0.0819)
OKLCHoklch(47.07% 0.087 249.7)
XYZxyz(9.8551, 10.4924, 25.5457)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E8A #8A5D31
analogous
#318A8A #315E8A #31318A
triadic
#315E8A #8A315E #5E8A31
tetradic
#315E8A #8A318A #8A5D31 #318A31
square
#315E8A #8A318A #8A5D31 #318A31
split-complementary
#315E8A #8A3131 #8A8A31
monochromatic
#112030 #213F5D #315E8A #417DB7 #6B9BCA

Accessibility & contrast

On white

6.78
#315E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#315E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E8A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E8A#FFFFFF#000000##FFFFFF
##315E8A1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315e8a;
/* rgb */ color: rgb(49, 94, 138);
/* oklch */ color: oklch(47.1% 0.087 249.7);
Tailwind
colors: {
  custom: {
    50: '#728bac',
    500: '#315e8a',
    950: '#000000',
  },
}
SCSS
$custom: #315e8a;
$custom-light: #728bac;
$custom-dark: #000000;
JSON
{
  "hex": "#315e8a",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 209.663,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.08738,
    "h": 249.7
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#315E8A
secondary
#B28B65
accent
#9351D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #315E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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