#1B4D88#1B4D88

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

Color values

HEX#1B4D88
RGBrgb(27, 77, 136)
HSLhsl(212, 67%, 32%)
HSVhsv(212, 80%, 53%)
CMYKcmyk(80.1%, 43.4%, 0%, 46.7%)
CIE-LABlab(32.52, 5.78, -37.67)
CIE-LCHlch(32.52, 38.11, 278.73°)
OKLaboklab(41.96% -0.0291 -0.1078)
OKLCHoklch(41.96% 0.112 254.9)
XYZxyz(7.5482, 7.3174, 24.3024)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4D88 #88561B
analogous
#1B8488 #1B4D88 #201B88
triadic
#1B4D88 #881B4D #4D881B
tetradic
#1B4D88 #881B84 #88561B #1B8820
square
#1B4D88 #881B84 #88561B #1B8820
split-complementary
#1B4D88 #88201B #84881B
monochromatic
#071322 #113055 #1B4D88 #256ABB #4489DA

Accessibility & contrast

On white

8.52
#1B4D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#1B4D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4D88
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4D88#FFFFFF#000000##FFFFFF
##1B4D881.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528A
Deuteranopia (green-blind)
#1C4887
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1b4d88;
/* rgb */ color: rgb(27, 77, 136);
/* oklch */ color: oklch(42.0% 0.112 254.9);
Tailwind
colors: {
  custom: {
    50: '#697eab',
    500: '#1b4d88',
    950: '#000000',
  },
}
SCSS
$custom: #1b4d88;
$custom-light: #697eab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4d88",
  "rgb": {
    "r": 27,
    "g": 77,
    "b": 136
  },
  "hsl": {
    "h": 212.477,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41963,
    "c": 0.11165,
    "h": 254.9
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#1B4D88
secondary
#BB8444
accent
#9B3EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4D88

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

Preview Lab → · Contrast checker → · Palette generator →

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