#315587#315587

#315587 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.7% C 0.093 H 256.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#315587
RGBrgb(49, 85, 135)
HSLhsl(215, 47%, 36%)
HSVhsv(215, 64%, 53%)
CMYKcmyk(63.7%, 37%, 0%, 47.1%)
CIE-LABlab(35.79, 3.71, -31.80)
CIE-LCHlch(35.79, 32.02, 276.66°)
OKLaboklab(44.73% -0.021 -0.0901)
OKLCHoklch(44.73% 0.093 256.9)
XYZxyz(8.8867, 8.8984, 24.1662)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315587 #876331
analogous
#318087 #315587 #383187
triadic
#315587 #873155 #558731
tetradic
#315587 #873180 #876331 #318738
square
#315587 #873180 #876331 #318738
split-complementary
#315587 #873831 #808731
monochromatic
#101C2D #21395A #315587 #4171B4 #6A91C9

Accessibility & contrast

On white

7.55
#315587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#315587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315587
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315587#FFFFFF#000000##FFFFFF
##3155871.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#345086
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315587;
/* rgb */ color: rgb(49, 85, 135);
/* oklch */ color: oklch(44.7% 0.093 256.9);
Tailwind
colors: {
  custom: {
    50: '#7284aa',
    500: '#315587',
    950: '#000000',
  },
}
SCSS
$custom: #315587;
$custom-light: #7284aa;
$custom-dark: #000000;
JSON
{
  "hex": "#315587",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 135
  },
  "hsl": {
    "h": 214.884,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4473,
    "c": 0.09255,
    "h": 256.9
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#315587
secondary
#B09064
accent
#9F51D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #315587

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

Preview Lab → · Contrast checker → · Palette generator →

#315587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva