#1B3755#1B3755

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

Color values

HEX#1B3755
RGBrgb(27, 55, 85)
HSLhsl(211, 52%, 22%)
HSVhsv(211, 68%, 33%)
CMYKcmyk(68.2%, 35.3%, 0%, 66.7%)
CIE-LABlab(22.38, 0.25, -21.31)
CIE-LCHlch(22.38, 21.31, 270.68°)
OKLaboklab(33.05% -0.0199 -0.0602)
OKLCHoklch(33.05% 0.063 251.7)
XYZxyz(3.4573, 3.6209, 9.1093)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3755 #55391B
analogous
#1B5455 #1B3755 #1C1B55
triadic
#1B3755 #551B37 #37551B
tetradic
#1B3755 #551B54 #55391B #1B551C
square
#1B3755 #551B54 #55391B #1B551C
split-complementary
#1B3755 #551C1B #54551B
monochromatic
#070F17 #0C1927 #1B3755 #2A5583 #3973B2

Accessibility & contrast

On white

12.18
#1B3755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B3755 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3755
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3755#FFFFFF#000000##FFFFFF
##1B37551.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3956
Deuteranopia (green-blind)
#223354
Tritanopia (blue-blind)
#003E42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b3755;
/* rgb */ color: rgb(27, 55, 85);
/* oklch */ color: oklch(33.1% 0.063 251.7);
Tailwind
colors: {
  custom: {
    50: '#5e6d85',
    500: '#1b3755',
    950: '#000000',
  },
}
SCSS
$custom: #1b3755;
$custom-light: #5e6d85;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3755",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 85
  },
  "hsl": {
    "h": 211.034,
    "s": 51.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3305,
    "c": 0.06344,
    "h": 251.7
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#1B3755
secondary
#8B6741
accent
#964DDB
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #1B3755

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

Preview Lab → · Contrast checker → · Palette generator →

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