#1B4D89#1B4D89

#1B4D89 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.113 H 255.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#1B4D89
RGBrgb(27, 77, 137)
HSLhsl(213, 67%, 32%)
HSVhsv(213, 80%, 54%)
CMYKcmyk(80.3%, 43.8%, 0%, 46.3%)
CIE-LABlab(32.58, 6.19, -38.18)
CIE-LCHlch(32.58, 38.68, 279.21°)
OKLaboklab(42.03% -0.0289 -0.1093)
OKLCHoklch(42.03% 0.113 255.2)
XYZxyz(7.6195, 7.3460, 24.6784)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D89 #89571B
analogous
#1B8489 #1B4D89 #201B89
triadic
#1B4D89 #891B4D #4D891B
tetradic
#1B4D89 #891B84 #89571B #1B8920
square
#1B4D89 #891B84 #89571B #1B8920
split-complementary
#1B4D89 #89201B #84891B
monochromatic
#071423 #113056 #1B4D89 #256ABC #4488DA

Accessibility & contrast

On white

8.50
#1B4D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#1B4D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D89
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D89#FFFFFF#000000##FFFFFF
##1B4D891.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528B
Deuteranopia (green-blind)
#1B4888
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4d89;
/* rgb */ color: rgb(27, 77, 137);
/* oklch */ color: oklch(42.0% 0.113 255.2);
Tailwind
colors: {
  custom: {
    50: '#697eac',
    500: '#1b4d89',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d89;
$custom-light: #697eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d89",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 212.727,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42033,
    "c": 0.11305,
    "h": 255.2
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#1B4D89
secondary
#BC8544
accent
#9C3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4D89

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

Preview Lab → · Contrast checker → · Palette generator →

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