#1B4871#1B4871

#1B4871 is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.2% C 0.085 H 249.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#1B4871
RGBrgb(27, 72, 113)
HSLhsl(209, 61%, 27%)
HSVhsv(209, 76%, 44%)
CMYKcmyk(76.1%, 36.3%, 0%, 55.7%)
CIE-LABlab(29.56, -0.12, -28.04)
CIE-LCHlch(29.56, 28.04, 269.76°)
OKLaboklab(39.21% -0.0303 -0.0797)
OKLCHoklch(39.21% 0.085 249.1)
XYZxyz(5.7489, 6.0594, 16.4862)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4871 #71441B
analogous
#1B716F #1B4871 #1B1D71
triadic
#1B4871 #711B48 #48711B
tetradic
#1B4871 #6F1B71 #71441B #1D711B
square
#1B4871 #6F1B71 #71441B #1D711B
split-complementary
#1B4871 #711B1D #716F1B
monochromatic
#061019 #0F2940 #1B4871 #2767A2 #3787CF

Accessibility & contrast

On white

9.49
#1B4871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1B4871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4871
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4871#FFFFFF#000000##FFFFFF
##1B48711.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b4871;
/* rgb */ color: rgb(27, 72, 113);
/* oklch */ color: oklch(39.2% 0.085 249.1);
Tailwind
colors: {
  custom: {
    50: '#647a9a',
    500: '#1b4871',
    950: '#000000',
  },
}
SCSS
$custom: #1b4871;
$custom-light: #647a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4871",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 208.605,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39206,
    "c": 0.08525,
    "h": 249.1
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#1B4871
secondary
#A67242
accent
#9043E5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #1B4871

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

Preview Lab → · Contrast checker → · Palette generator →

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