#1B314C#1B314C

#1B314C is a dark, muted cyan. Relative luminance 0.030; OKLCH L 30.9% C 0.056 H 254.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#1B314C
RGBrgb(27, 49, 76)
HSLhsl(213, 48%, 20%)
HSVhsv(213, 64%, 30%)
CMYKcmyk(64.5%, 35.5%, 0%, 70.2%)
CIE-LABlab(19.85, 0.90, -19.28)
CIE-LCHlch(19.85, 19.30, 272.68°)
OKLaboklab(30.9% -0.0152 -0.0544)
OKLCHoklch(30.9% 0.056 254.4)
XYZxyz(2.8544, 2.9512, 7.2553)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B314C #4C361B
analogous
#1B494C #1B314C #1D1B4C
triadic
#1B314C #4C1B31 #314C1B
tetradic
#1B314C #4C1B49 #4C361B #1B4C1D
square
#1B314C #4C1B49 #4C361B #1B4C1D
split-complementary
#1B314C #4C1D1B #494C1B
monochromatic
#080F17 #0B141F #1B314C #2B4E79 #3B6BA6

Accessibility & contrast

On white

13.21
#1B314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B314C
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B314C#FFFFFF#000000##FFFFFF
##1B314C1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b314c;
/* rgb */ color: rgb(27, 49, 76);
/* oklch */ color: oklch(30.9% 0.056 254.4);
Tailwind
colors: {
  custom: {
    50: '#5c687e',
    500: '#1b314c',
    950: '#000000',
  },
}
SCSS
$custom: #1b314c;
$custom-light: #5c687e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b314c",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 213.061,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30903,
    "c": 0.05649,
    "h": 254.4
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#1B314C
secondary
#826541
accent
#9B51D7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1B314C

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

Preview Lab → · Contrast checker → · Palette generator →

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