#1B314D#1B314D

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

Color values

HEX#1B314D
RGBrgb(27, 49, 77)
HSLhsl(214, 48%, 20%)
HSVhsv(214, 65%, 30%)
CMYKcmyk(64.9%, 36.4%, 0%, 69.8%)
CIE-LABlab(19.90, 1.29, -19.86)
CIE-LCHlch(19.90, 19.90, 273.72°)
OKLaboklab(30.97% -0.0149 -0.0561)
OKLCHoklch(30.97% 0.058 255.1)
XYZxyz(2.8894, 2.9652, 7.4398)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B314D #4D371B
analogous
#1B4A4D #1B314D #1E1B4D
triadic
#1B314D #4D1B31 #314D1B
tetradic
#1B314D #4D1B4A #4D371B #1B4D1E
square
#1B314D #4D1B4A #4D371B #1B4D1E
split-complementary
#1B314D #4D1E1B #4A4D1B
monochromatic
#080E17 #0B1420 #1B314D #2B4E7A #3B6BA8

Accessibility & contrast

On white

13.18
#1B314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B314D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B314D
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B314D#FFFFFF#000000##FFFFFF
##1B314D1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334E
Deuteranopia (green-blind)
#1F2E4C
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b314d;
/* rgb */ color: rgb(27, 49, 77);
/* oklch */ color: oklch(31.0% 0.058 255.1);
Tailwind
colors: {
  custom: {
    50: '#5c687f',
    500: '#1b314d',
    950: '#000000',
  },
}
SCSS
$custom: #1b314d;
$custom-light: #5c687f;
$custom-dark: #000000;
JSON
{
  "hex": "#1b314d",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 213.6,
    "s": 48.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30966,
    "c": 0.05803,
    "h": 255.1
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#1B314D
secondary
#836641
accent
#9C50D8
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1B314D

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

Preview Lab → · Contrast checker → · Palette generator →

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