#1B4571#1B4571

#1B4571 is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.4% C 0.088 H 252.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#1B4571
RGBrgb(27, 69, 113)
HSLhsl(211, 61%, 27%)
HSVhsv(211, 76%, 44%)
CMYKcmyk(76.1%, 38.9%, 0%, 55.7%)
CIE-LABlab(28.59, 1.88, -29.58)
CIE-LCHlch(28.59, 29.64, 273.64°)
OKLaboklab(38.45% -0.0272 -0.0842)
OKLCHoklch(38.45% 0.088 252.1)
XYZxyz(5.5596, 5.6809, 16.4231)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4571 #71471B
analogous
#1B7071 #1B4571 #1C1B71
triadic
#1B4571 #711B45 #45711B
tetradic
#1B4571 #711B70 #71471B #1B711C
square
#1B4571 #711B70 #71471B #1B711C
split-complementary
#1B4571 #711C1B #70711B
monochromatic
#060F19 #0F2740 #1B4571 #2763A2 #3781CF

Accessibility & contrast

On white

9.83
#1B4571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1B4571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4571
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4571#FFFFFF#000000##FFFFFF
##1B45711.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#244070
Tritanopia (blue-blind)
#004F55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b4571;
/* rgb */ color: rgb(27, 69, 113);
/* oklch */ color: oklch(38.4% 0.088 252.1);
Tailwind
colors: {
  custom: {
    50: '#64789a',
    500: '#1b4571',
    950: '#000000',
  },
}
SCSS
$custom: #1b4571;
$custom-light: #64789a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4571",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 210.698,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38447,
    "c": 0.08849,
    "h": 252.1
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#1B4571
secondary
#A67542
accent
#9643E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1B4571

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

Preview Lab → · Contrast checker → · Palette generator →

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