#315682#315682

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

Color values

HEX#315682
RGBrgb(49, 86, 130)
HSLhsl(213, 45%, 35%)
HSVhsv(213, 62%, 51%)
CMYKcmyk(62.3%, 33.8%, 0%, 49%)
CIE-LABlab(35.83, 1.26, -28.67)
CIE-LCHlch(35.83, 28.70, 272.52°)
OKLaboklab(44.68% -0.0235 -0.081)
OKLCHoklch(44.68% 0.084 253.8)
XYZxyz(8.6222, 8.9195, 22.3820)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315682 #825D31
analogous
#317E82 #315682 #353182
triadic
#315682 #823156 #568231
tetradic
#315682 #82317E #825D31 #318235
square
#315682 #82317E #825D31 #318235
split-complementary
#315682 #823531 #7E8231
monochromatic
#0F1B29 #203956 #315682 #4273AE #6893C6

Accessibility & contrast

On white

7.54
#315682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #315682
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315682#FFFFFF#000000##FFFFFF
##3156821.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435984
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315682;
/* rgb */ color: rgb(49, 86, 130);
/* oklch */ color: oklch(44.7% 0.084 253.8);
Tailwind
colors: {
  custom: {
    50: '#7185a6',
    500: '#315682',
    950: '#000000',
  },
}
SCSS
$custom: #315682;
$custom-light: #7185a6;
$custom-dark: #000000;
JSON
{
  "hex": "#315682",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 212.593,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44675,
    "c": 0.08437,
    "h": 253.8
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#315682
secondary
#AD8B62
accent
#9A53D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #315682

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

Preview Lab → · Contrast checker → · Palette generator →

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