#1B4E71#1B4E71

#1B4E71 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.7% C 0.080 H 242.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#1B4E71
RGBrgb(27, 78, 113)
HSLhsl(204, 61%, 27%)
HSVhsv(204, 76%, 44%)
CMYKcmyk(76.1%, 31%, 0%, 55.7%)
CIE-LABlab(31.52, -4.02, -24.96)
CIE-LCHlch(31.52, 25.29, 260.86°)
OKLaboklab(40.75% -0.0367 -0.0706)
OKLCHoklch(40.75% 0.08 242.5)
XYZxyz(6.1559, 6.8733, 16.6218)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E71 #713E1B
analogous
#1B7169 #1B4E71 #1B2371
triadic
#1B4E71 #711B4E #4E711B
tetradic
#1B4E71 #691B71 #713E1B #23711B
square
#1B4E71 #691B71 #713E1B #23711B
split-complementary
#1B4E71 #711B23 #71691B
monochromatic
#061119 #0F2C40 #1B4E71 #2770A2 #3791CF

Accessibility & contrast

On white

8.84
#1B4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1B4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E71
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E71#FFFFFF#000000##FFFFFF
##1B4E711.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#324770
Tritanopia (blue-blind)
#00575A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4e71;
/* rgb */ color: rgb(27, 78, 113);
/* oklch */ color: oklch(40.7% 0.080 242.5);
Tailwind
colors: {
  custom: {
    50: '#647f9a',
    500: '#1b4e71',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e71;
$custom-light: #647f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e71",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 204.419,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40747,
    "c": 0.07958,
    "h": 242.5
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#1B4E71
secondary
#A66B42
accent
#8543E5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #1B4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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