#1B4E88#1B4E88

#1B4E88 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.110 H 254.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#1B4E88
RGBrgb(27, 78, 136)
HSLhsl(212, 67%, 32%)
HSVhsv(212, 80%, 53%)
CMYKcmyk(80.1%, 42.6%, 0%, 46.7%)
CIE-LABlab(32.83, 5.12, -37.17)
CIE-LCHlch(32.83, 37.52, 277.84°)
OKLaboklab(42.2% -0.0301 -0.1063)
OKLCHoklch(42.2% 0.11 254.2)
XYZxyz(7.6187, 7.4585, 24.3259)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4E88 #88551B
analogous
#1B8588 #1B4E88 #1F1B88
triadic
#1B4E88 #881B4E #4E881B
tetradic
#1B4E88 #881B85 #88551B #1B881F
square
#1B4E88 #881B85 #88551B #1B881F
split-complementary
#1B4E88 #881F1B #85881B
monochromatic
#071322 #113155 #1B4E88 #256BBB #448ADA

Accessibility & contrast

On white

8.43
#1B4E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#1B4E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4E88
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4E88#FFFFFF#000000##FFFFFF
##1B4E881.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538A
Deuteranopia (green-blind)
#1F4987
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1b4e88;
/* rgb */ color: rgb(27, 78, 136);
/* oklch */ color: oklch(42.2% 0.110 254.2);
Tailwind
colors: {
  custom: {
    50: '#697fab',
    500: '#1b4e88',
    950: '#000000',
  },
}
SCSS
$custom: #1b4e88;
$custom-light: #697fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4e88",
  "rgb": {
    "r": 27,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 211.927,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42204,
    "c": 0.11048,
    "h": 254.2
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#1B4E88
secondary
#BB8344
accent
#993EEA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #1B4E88

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

Preview Lab → · Contrast checker → · Palette generator →

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