#315985#315985

#315985 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.6% C 0.085 H 252.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#315985
RGBrgb(49, 89, 133)
HSLhsl(211, 46%, 36%)
HSVhsv(211, 63%, 52%)
CMYKcmyk(63.2%, 33.1%, 0%, 47.8%)
CIE-LABlab(36.91, 0.43, -28.81)
CIE-LCHlch(36.91, 28.81, 270.85°)
OKLaboklab(45.57% -0.0261 -0.0814)
OKLCHoklch(45.57% 0.085 252.2)
XYZxyz(9.0711, 9.4903, 23.5395)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315985 #855D31
analogous
#318385 #315985 #333185
triadic
#315985 #853159 #598531
tetradic
#315985 #853183 #855D31 #318533
square
#315985 #853183 #855D31 #318533
split-complementary
#315985 #853331 #838531
monochromatic
#101D2C #213B58 #315985 #4177B2 #6996C8

Accessibility & contrast

On white

7.25
#315985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#315985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315985
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315985#FFFFFF#000000##FFFFFF
##3159851.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B87
Deuteranopia (green-blind)
#3B5384
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #315985;
/* rgb */ color: rgb(49, 89, 133);
/* oklch */ color: oklch(45.6% 0.085 252.2);
Tailwind
colors: {
  custom: {
    50: '#7187a8',
    500: '#315985',
    950: '#000000',
  },
}
SCSS
$custom: #315985;
$custom-light: #7187a8;
$custom-dark: #000000;
JSON
{
  "hex": "#315985",
  "rgb": {
    "r": 49,
    "g": 89,
    "b": 133
  },
  "hsl": {
    "h": 211.429,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.08547,
    "h": 252.2
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#315985
secondary
#AF8B63
accent
#9752D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #315985

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

Preview Lab → · Contrast checker → · Palette generator →

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