#314865#314865

#314865 is a dark, muted cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.057 H 254.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#314865
RGBrgb(49, 72, 101)
HSLhsl(213, 35%, 29%)
HSVhsv(213, 51%, 40%)
CMYKcmyk(51.5%, 28.7%, 0%, 60.4%)
CIE-LABlab(29.98, 0.15, -19.71)
CIE-LCHlch(29.98, 19.71, 270.44°)
OKLaboklab(39.61% -0.0151 -0.0551)
OKLCHoklch(39.61% 0.057 254.7)
XYZxyz(5.9322, 6.2269, 13.1987)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314865 #654E31
analogous
#316265 #314865 #343165
triadic
#314865 #653148 #486531
tetradic
#314865 #653162 #654E31 #316534
square
#314865 #653162 #654E31 #316534
split-complementary
#314865 #653431 #626531
monochromatic
#0A0F15 #1D2B3C #314865 #45658E #5F83B1

Accessibility & contrast

On white

9.35
#314865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#314865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314865
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314865#FFFFFF#000000##FFFFFF
##3148651.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4966
Deuteranopia (green-blind)
#364464
Tritanopia (blue-blind)
#1A4E52
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314865;
/* rgb */ color: rgb(49, 72, 101);
/* oklch */ color: oklch(39.6% 0.057 254.7);
Tailwind
colors: {
  custom: {
    50: '#6c7a91',
    500: '#314865',
    950: '#000000',
  },
}
SCSS
$custom: #314865;
$custom-light: #6c7a91;
$custom-dark: #000000;
JSON
{
  "hex": "#314865",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 101
  },
  "hsl": {
    "h": 213.462,
    "s": 34.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.05717,
    "h": 254.7
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#314865
secondary
#967C5C
accent
#9A5DCB
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #314865

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

Preview Lab → · Contrast checker → · Palette generator →

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