#1B314F#1B314F

#1B314F is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.061 H 256.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#1B314F
RGBrgb(27, 49, 79)
HSLhsl(215, 49%, 21%)
HSVhsv(215, 66%, 31%)
CMYKcmyk(65.8%, 38%, 0%, 69%)
CIE-LABlab(20.02, 2.07, -21.02)
CIE-LCHlch(20.02, 21.12, 275.63°)
OKLaboklab(31.09% -0.0142 -0.0595)
OKLCHoklch(31.09% 0.061 256.5)
XYZxyz(2.9611, 2.9939, 7.8175)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B314F #4F391B
analogous
#1B4B4F #1B314F #1F1B4F
triadic
#1B314F #4F1B31 #314F1B
tetradic
#1B314F #4F1B4B #4F391B #1B4F1F
square
#1B314F #4F1B4B #4F391B #1B4F1F
split-complementary
#1B314F #4F1F1B #4B4F1B
monochromatic
#080E17 #0B1521 #1B314F #2B4D7D #3A6AAA

Accessibility & contrast

On white

13.13
#1B314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B314F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B314F#FFFFFF#000000##FFFFFF
##1B314F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243350
Deuteranopia (green-blind)
#1E2E4E
Tritanopia (blue-blind)
#00383C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b314f;
/* rgb */ color: rgb(27, 49, 79);
/* oklch */ color: oklch(31.1% 0.061 256.5);
Tailwind
colors: {
  custom: {
    50: '#5d6880',
    500: '#1b314f',
    950: '#000000',
  },
}
SCSS
$custom: #1b314f;
$custom-light: #5d6880;
$custom-dark: #000000;
JSON
{
  "hex": "#1b314f",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 214.615,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31094,
    "c": 0.06116,
    "h": 256.5
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#1B314F
secondary
#856841
accent
#9E4FD9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1B314F

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

Preview Lab → · Contrast checker → · Palette generator →

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