#315E88#315E88

#315E88 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.085 H 248.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#315E88
RGBrgb(49, 94, 136)
HSLhsl(209, 47%, 36%)
HSVhsv(209, 64%, 53%)
CMYKcmyk(64%, 30.9%, 0%, 46.7%)
CIE-LABlab(38.61, -1.65, -27.97)
CIE-LCHlch(38.61, 28.01, 266.63°)
OKLaboklab(46.96% -0.0309 -0.0789)
OKLCHoklch(46.96% 0.085 248.6)
XYZxyz(9.7116, 10.4350, 24.7901)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315E88 #885B31
analogous
#318887 #315E88 #313388
triadic
#315E88 #88315E #5E8831
tetradic
#315E88 #873188 #885B31 #338831
square
#315E88 #873188 #885B31 #338831
split-complementary
#315E88 #883133 #888731
monochromatic
#11202E #213F5B #315E88 #417DB5 #6A9BC9

Accessibility & contrast

On white

6.80
#315E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#315E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #315E88
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315E88#FFFFFF#000000##FFFFFF
##315E881.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608A
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #315e88;
/* rgb */ color: rgb(49, 94, 136);
/* oklch */ color: oklch(47.0% 0.085 248.6);
Tailwind
colors: {
  custom: {
    50: '#728bab',
    500: '#315e88',
    950: '#000000',
  },
}
SCSS
$custom: #315e88;
$custom-light: #728bab;
$custom-dark: #000000;
JSON
{
  "hex": "#315e88",
  "rgb": {
    "r": 49,
    "g": 94,
    "b": 136
  },
  "hsl": {
    "h": 208.966,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.08473,
    "h": 248.6
  },
  "luminance": 0.10436
}

Semantic roles & 50–950 ramp

primary
#315E88
secondary
#B18964
accent
#9251D7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #315E88

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

Preview Lab → · Contrast checker → · Palette generator →

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