#1B4888#1B4888

#1B4888 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.118 H 257.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#1B4888
RGBrgb(27, 72, 136)
HSLhsl(215, 67%, 32%)
HSVhsv(215, 80%, 53%)
CMYKcmyk(80.1%, 47.1%, 0%, 46.7%)
CIE-LABlab(30.98, 9.16, -40.13)
CIE-LCHlch(30.98, 41.16, 282.86°)
OKLaboklab(40.77% -0.0247 -0.1151)
OKLCHoklch(40.77% 0.118 257.9)
XYZxyz(7.2117, 6.6445, 24.1902)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4888 #885B1B
analogous
#1B7F88 #1B4888 #241B88
triadic
#1B4888 #881B48 #48881B
tetradic
#1B4888 #881B7F #885B1B #1B8824
square
#1B4888 #881B7F #885B1B #1B8824
split-complementary
#1B4888 #88241B #7F881B
monochromatic
#071222 #112D55 #1B4888 #2563BB #4482DA

Accessibility & contrast

On white

9.02
#1B4888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1B4888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4888
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4888#FFFFFF#000000##FFFFFF
##1B48881.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8A
Deuteranopia (green-blind)
#0C4487
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1b4888;
/* rgb */ color: rgb(27, 72, 136);
/* oklch */ color: oklch(40.8% 0.118 257.9);
Tailwind
colors: {
  custom: {
    50: '#697aab',
    500: '#1b4888',
    950: '#000000',
  },
}
SCSS
$custom: #1b4888;
$custom-light: #697aab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4888",
  "rgb": {
    "r": 27,
    "g": 72,
    "b": 136
  },
  "hsl": {
    "h": 215.229,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.11774,
    "h": 257.9
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#1B4888
secondary
#BB8A44
accent
#A33EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1B4888

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

Preview Lab → · Contrast checker → · Palette generator →

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