#1B3754#1B3754

#1B3754 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 33.0% C 0.062 H 251.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#1B3754
RGBrgb(27, 55, 84)
HSLhsl(211, 51%, 22%)
HSVhsv(211, 68%, 33%)
CMYKcmyk(67.9%, 34.5%, 0%, 67.1%)
CIE-LABlab(22.32, -0.14, -20.73)
CIE-LCHlch(22.32, 20.73, 269.61°)
OKLaboklab(32.99% -0.0202 -0.0586)
OKLCHoklch(32.99% 0.062 251)
XYZxyz(3.4178, 3.6052, 8.9015)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3754 #54381B
analogous
#1B5454 #1B3754 #1C1B54
triadic
#1B3754 #541B37 #37541B
tetradic
#1B3754 #541B54 #54381B #1B541C
square
#1B3754 #541B54 #54381B #1B541C
split-complementary
#1B3754 #541C1B #54541B
monochromatic
#070F17 #0C1926 #1B3754 #2A5582 #3974B1

Accessibility & contrast

On white

12.20
#1B3754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3754
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3754#FFFFFF#000000##FFFFFF
##1B37541.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3855
Deuteranopia (green-blind)
#233353
Tritanopia (blue-blind)
#003E41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b3754;
/* rgb */ color: rgb(27, 55, 84);
/* oklch */ color: oklch(33.0% 0.062 251.0);
Tailwind
colors: {
  custom: {
    50: '#5e6d84',
    500: '#1b3754',
    950: '#000000',
  },
}
SCSS
$custom: #1b3754;
$custom-light: #5e6d84;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3754",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 84
  },
  "hsl": {
    "h": 210.526,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32988,
    "c": 0.06196,
    "h": 251
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#1B3754
secondary
#8A6641
accent
#954DDB
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05070B
muted
#797A7C

Preview Lab

Preview with #1B3754

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

Preview Lab → · Contrast checker → · Palette generator →

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