#315481#315481

#315481 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.1% C 0.085 H 255.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#315481
RGBrgb(49, 84, 129)
HSLhsl(214, 45%, 35%)
HSVhsv(214, 62%, 51%)
CMYKcmyk(62%, 34.9%, 0%, 49.4%)
CIE-LABlab(35.16, 2.19, -29.12)
CIE-LCHlch(35.16, 29.20, 274.30°)
OKLaboklab(44.13% -0.0215 -0.0823)
OKLCHoklch(44.13% 0.085 255.4)
XYZxyz(8.3980, 8.5778, 21.9777)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315481 #815E31
analogous
#317C81 #315481 #363181
triadic
#315481 #813154 #548131
tetradic
#315481 #81317C #815E31 #318136
square
#315481 #81317C #815E31 #318136
split-complementary
#315481 #813631 #7C8131
monochromatic
#0F1A28 #203755 #315481 #4271AD #6790C5

Accessibility & contrast

On white

7.73
#315481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#315481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315481
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315481#FFFFFF#000000##FFFFFF
##3154811.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415783
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315481;
/* rgb */ color: rgb(49, 84, 129);
/* oklch */ color: oklch(44.1% 0.085 255.4);
Tailwind
colors: {
  custom: {
    50: '#7183a6',
    500: '#315481',
    950: '#000000',
  },
}
SCSS
$custom: #315481;
$custom-light: #7183a6;
$custom-dark: #000000;
JSON
{
  "hex": "#315481",
  "rgb": {
    "r": 49,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 213.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44133,
    "c": 0.08507,
    "h": 255.4
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#315481
secondary
#AD8C61
accent
#9C53D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #315481

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

Preview Lab → · Contrast checker → · Palette generator →

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