#1D314C#1D314C

#1D314C is a dark, muted cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.055 H 256.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1D314C
RGBrgb(29, 49, 76)
HSLhsl(214, 45%, 21%)
HSVhsv(214, 62%, 30%)
CMYKcmyk(61.8%, 35.5%, 0%, 70.2%)
CIE-LABlab(19.96, 1.40, -19.09)
CIE-LCHlch(19.96, 19.14, 274.19°)
OKLaboklab(31.02% -0.0132 -0.0538)
OKLCHoklch(31.02% 0.055 256.2)
XYZxyz(2.9091, 2.9794, 7.2579)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D314C #4C381D
analogous
#1D484C #1D314C #201D4C
triadic
#1D314C #4C1D31 #314C1D
tetradic
#1D314C #4C1D48 #4C381D #1D4C20
square
#1D314C #4C1D48 #4C381D #1D4C20
split-complementary
#1D314C #4C201D #484C1D
monochromatic
#080E16 #0C1420 #1D314C #2E4E78 #3F6AA5

Accessibility & contrast

On white

13.16
#1D314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D314C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D314C#FFFFFF#000000##FFFFFF
##1D314C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334D
Deuteranopia (green-blind)
#202E4B
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d314c;
/* rgb */ color: rgb(29, 49, 76);
/* oklch */ color: oklch(31.0% 0.055 256.2);
Tailwind
colors: {
  custom: {
    50: '#5d687e',
    500: '#1d314c',
    950: '#000000',
  },
}
SCSS
$custom: #1d314c;
$custom-light: #5d687e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d314c",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 214.468,
    "s": 44.762,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31023,
    "c": 0.05541,
    "h": 256.2
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#1D314C
secondary
#816744
accent
#9E53D4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1D314C

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

Preview Lab → · Contrast checker → · Palette generator →

#1D314C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva