#1B3757#1B3757

#1B3757 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.066 H 253.2°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1B3757
RGBrgb(27, 55, 87)
HSLhsl(212, 53%, 22%)
HSVhsv(212, 69%, 34%)
CMYKcmyk(69%, 36.8%, 0%, 65.9%)
CIE-LABlab(22.49, 1.04, -22.45)
CIE-LCHlch(22.49, 22.47, 272.65°)
OKLaboklab(33.18% -0.0192 -0.0636)
OKLCHoklch(33.18% 0.066 253.2)
XYZxyz(3.5379, 3.6532, 9.5337)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3757 #573B1B
analogous
#1B5557 #1B3757 #1D1B57
triadic
#1B3757 #571B37 #37571B
tetradic
#1B3757 #571B55 #573B1B #1B571D
square
#1B3757 #571B55 #573B1B #1B571D
split-complementary
#1B3757 #571D1B #55571B
monochromatic
#070F17 #0D1928 #1B3757 #295586 #3872B4

Accessibility & contrast

On white

12.13
#1B3757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3757
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3757#FFFFFF#000000##FFFFFF
##1B37571.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#213356
Tritanopia (blue-blind)
#003E43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b3757;
/* rgb */ color: rgb(27, 55, 87);
/* oklch */ color: oklch(33.2% 0.066 253.2);
Tailwind
colors: {
  custom: {
    50: '#5e6d86',
    500: '#1b3757',
    950: '#000000',
  },
}
SCSS
$custom: #1b3757;
$custom-light: #5e6d86;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3757",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 87
  },
  "hsl": {
    "h": 212,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33176,
    "c": 0.06642,
    "h": 253.2
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#1B3757
secondary
#8D6941
accent
#994CDC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #1B3757

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

Preview Lab → · Contrast checker → · Palette generator →

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