#1B4D84#1B4D84

#1B4D84 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.7% C 0.106 H 253.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#1B4D84
RGBrgb(27, 77, 132)
HSLhsl(211, 66%, 31%)
HSVhsv(211, 80%, 52%)
CMYKcmyk(79.5%, 41.7%, 0%, 48.2%)
CIE-LABlab(32.27, 4.17, -35.60)
CIE-LCHlch(32.27, 35.84, 276.68°)
OKLaboklab(41.69% -0.0301 -0.1017)
OKLCHoklch(41.69% 0.106 253.5)
XYZxyz(7.2692, 7.2059, 22.8331)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D84 #84521B
analogous
#1B8184 #1B4D84 #1E1B84
triadic
#1B4D84 #841B4D #4D841B
tetradic
#1B4D84 #841B81 #84521B #1B841E
square
#1B4D84 #841B81 #84521B #1B841E
split-complementary
#1B4D84 #841E1B #81841B
monochromatic
#06121E #112F51 #1B4D84 #256BB7 #4189D8

Accessibility & contrast

On white

8.60
#1B4D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1B4D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D84
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D84#FFFFFF#000000##FFFFFF
##1B4D841.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335186
Deuteranopia (green-blind)
#214883
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4d84;
/* rgb */ color: rgb(27, 77, 132);
/* oklch */ color: oklch(41.7% 0.106 253.5);
Tailwind
colors: {
  custom: {
    50: '#687ea8',
    500: '#1b4d84',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d84;
$custom-light: #687ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d84",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 132
  },
  "hsl": {
    "h": 211.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4169,
    "c": 0.10607,
    "h": 253.5
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#1B4D84
secondary
#B78043
accent
#983FE9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1B4D84

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

Preview Lab → · Contrast checker → · Palette generator →

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