#1B4A87#1B4A87

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

Color values

HEX#1B4A87
RGBrgb(27, 74, 135)
HSLhsl(214, 67%, 32%)
HSVhsv(214, 80%, 53%)
CMYKcmyk(80%, 45.2%, 0%, 47.1%)
CIE-LABlab(31.53, 7.40, -38.63)
CIE-LCHlch(31.53, 39.33, 280.84°)
OKLaboklab(41.18% -0.0267 -0.1107)
OKLCHoklch(41.18% 0.114 256.5)
XYZxyz(7.2723, 6.8790, 23.8615)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4A87 #87581B
analogous
#1B8087 #1B4A87 #221B87
triadic
#1B4A87 #871B4A #4A871B
tetradic
#1B4A87 #871B80 #87581B #1B8722
square
#1B4A87 #871B80 #87581B #1B8722
split-complementary
#1B4A87 #87221B #80871B
monochromatic
#071221 #112E54 #1B4A87 #2566BA #4384D9

Accessibility & contrast

On white

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

On black

2.38
#1B4A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B4A87#FFFFFF#000000##FFFFFF
##1B4A871.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F89
Deuteranopia (green-blind)
#154686
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b4a87;
/* rgb */ color: rgb(27, 74, 135);
/* oklch */ color: oklch(41.2% 0.114 256.5);
Tailwind
colors: {
  custom: {
    50: '#697caa',
    500: '#1b4a87',
    950: '#000000',
  },
}
SCSS
$custom: #1b4a87;
$custom-light: #697caa;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4a87",
  "rgb": {
    "r": 27,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 213.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.11386,
    "h": 256.5
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#1B4A87
secondary
#BA8744
accent
#9F3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4A87

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

Preview Lab → · Contrast checker → · Palette generator →

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