#1B314A#1B314A

#1B314A is a dark, muted cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.053 H 252.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1B314A
RGBrgb(27, 49, 74)
HSLhsl(212, 47%, 20%)
HSVhsv(212, 64%, 29%)
CMYKcmyk(63.5%, 33.8%, 0%, 71%)
CIE-LABlab(19.74, 0.13, -18.10)
CIE-LCHlch(19.74, 18.10, 270.40°)
OKLaboklab(30.78% -0.0159 -0.051)
OKLCHoklch(30.78% 0.053 252.7)
XYZxyz(2.7859, 2.9238, 6.8948)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B314A #4A341B
analogous
#1B494A #1B314A #1D1B4A
triadic
#1B314A #4A1B31 #314A1B
tetradic
#1B314A #4A1B49 #4A341B #1B4A1D
square
#1B314A #4A1B49 #4A341B #1B4A1D
split-complementary
#1B314A #4A1D1B #494A1B
monochromatic
#080F16 #0B131D #1B314A #2B4F77 #3C6CA4

Accessibility & contrast

On white

13.25
#1B314A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B314A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B314A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B314A#FFFFFF#000000##FFFFFF
##1B314A1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27324B
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b314a;
/* rgb */ color: rgb(27, 49, 74);
/* oklch */ color: oklch(30.8% 0.053 252.7);
Tailwind
colors: {
  custom: {
    50: '#5c687c',
    500: '#1b314a',
    950: '#000000',
  },
}
SCSS
$custom: #1b314a;
$custom-light: #5c687c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b314a",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 211.915,
    "s": 46.535,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30779,
    "c": 0.05341,
    "h": 252.7
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#1B314A
secondary
#806241
accent
#9852D6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #1B314A

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

Preview Lab → · Contrast checker → · Palette generator →

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