#315779#315779

#315779 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.4% C 0.071 H 247.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#315779
RGBrgb(49, 87, 121)
HSLhsl(208, 42%, 33%)
HSVhsv(208, 60%, 47%)
CMYKcmyk(59.5%, 28.1%, 0%, 52.5%)
CIE-LABlab(35.69, -2.55, -23.35)
CIE-LCHlch(35.69, 23.49, 263.76°)
OKLaboklab(44.42% -0.0276 -0.0656)
OKLCHoklch(44.42% 0.071 247.2)
XYZxyz(8.1248, 8.8491, 19.3653)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315779 #795331
analogous
#317977 #315779 #313379
triadic
#315779 #793157 #577931
tetradic
#315779 #773179 #795331 #337931
square
#315779 #773179 #795331 #337931
split-complementary
#315779 #793133 #797731
monochromatic
#0E1822 #1F384D #315779 #4376A5 #6495C0

Accessibility & contrast

On white

7.58
#315779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#315779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315779
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315779#FFFFFF#000000##FFFFFF
##3157791.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587B
Deuteranopia (green-blind)
#3F5178
Tritanopia (blue-blind)
#005F63
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315779;
/* rgb */ color: rgb(49, 87, 121);
/* oklch */ color: oklch(44.4% 0.071 247.2);
Tailwind
colors: {
  custom: {
    50: '#6f86a0',
    500: '#315779',
    950: '#000000',
  },
}
SCSS
$custom: #315779;
$custom-light: #6f86a0;
$custom-dark: #000000;
JSON
{
  "hex": "#315779",
  "rgb": {
    "r": 49,
    "g": 87,
    "b": 121
  },
  "hsl": {
    "h": 208.333,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4442,
    "c": 0.07114,
    "h": 247.2
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#315779
secondary
#A8815E
accent
#9056D2
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #315779

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

Preview Lab → · Contrast checker → · Palette generator →

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