#1B3756#1B3756

#1B3756 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 33.1% C 0.065 H 252.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1B3756
RGBrgb(27, 55, 86)
HSLhsl(212, 52%, 22%)
HSVhsv(212, 69%, 34%)
CMYKcmyk(68.6%, 36%, 0%, 66.3%)
CIE-LABlab(22.43, 0.65, -21.88)
CIE-LCHlch(22.43, 21.89, 271.69°)
OKLaboklab(33.11% -0.0196 -0.0619)
OKLCHoklch(33.11% 0.065 252.5)
XYZxyz(3.4973, 3.6369, 9.3200)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3756 #563A1B
analogous
#1B5556 #1B3756 #1C1B56
triadic
#1B3756 #561B37 #37561B
tetradic
#1B3756 #561B55 #563A1B #1B561C
square
#1B3756 #561B55 #563A1B #1B561C
split-complementary
#1B3756 #561C1B #55561B
monochromatic
#070F17 #0C1927 #1B3756 #2A5585 #3873B3

Accessibility & contrast

On white

12.16
#1B3756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B3756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3756
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3756#FFFFFF#000000##FFFFFF
##1B37561.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3957
Deuteranopia (green-blind)
#223355
Tritanopia (blue-blind)
#003E42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b3756;
/* rgb */ color: rgb(27, 55, 86);
/* oklch */ color: oklch(33.1% 0.065 252.5);
Tailwind
colors: {
  custom: {
    50: '#5e6d86',
    500: '#1b3756',
    950: '#000000',
  },
}
SCSS
$custom: #1b3756;
$custom-light: #5e6d86;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3756",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 86
  },
  "hsl": {
    "h": 211.525,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33113,
    "c": 0.06492,
    "h": 252.5
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#1B3756
secondary
#8C6841
accent
#984CDC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #1B3756

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

Preview Lab → · Contrast checker → · Palette generator →

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