#1B3758#1B3758

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

Color values

HEX#1B3758
RGBrgb(27, 55, 88)
HSLhsl(212, 53%, 23%)
HSVhsv(212, 69%, 35%)
CMYKcmyk(69.3%, 37.5%, 0%, 65.5%)
CIE-LABlab(22.55, 1.44, -23.02)
CIE-LCHlch(22.55, 23.06, 273.57°)
OKLaboklab(33.24% -0.0189 -0.0652)
OKLCHoklch(33.24% 0.068 253.8)
XYZxyz(3.5790, 3.6696, 9.7503)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3758 #583C1B
analogous
#1B5558 #1B3758 #1E1B58
triadic
#1B3758 #581B37 #37581B
tetradic
#1B3758 #581B55 #583C1B #1B581E
square
#1B3758 #581B55 #583C1B #1B581E
split-complementary
#1B3758 #581E1B #55581B
monochromatic
#070F17 #0D1A29 #1B3758 #295487 #3872B6

Accessibility & contrast

On white

12.11
#1B3758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3758
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3758#FFFFFF#000000##FFFFFF
##1B37581.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293959
Deuteranopia (green-blind)
#203357
Tritanopia (blue-blind)
#003F43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b3758;
/* rgb */ color: rgb(27, 55, 88);
/* oklch */ color: oklch(33.2% 0.068 253.8);
Tailwind
colors: {
  custom: {
    50: '#5f6d87',
    500: '#1b3758',
    950: '#000000',
  },
}
SCSS
$custom: #1b3758;
$custom-light: #5f6d87;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3758",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 88
  },
  "hsl": {
    "h": 212.459,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3324,
    "c": 0.06791,
    "h": 253.8
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#1B3758
secondary
#8E6B41
accent
#9A4BDC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #1B3758

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

Preview Lab → · Contrast checker → · Palette generator →

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