#1B4288#1B4288

#1B4288 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.125 H 261.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#1B4288
RGBrgb(27, 66, 136)
HSLhsl(219, 67%, 32%)
HSVhsv(219, 80%, 53%)
CMYKcmyk(80.1%, 51.5%, 0%, 46.7%)
CIE-LABlab(29.17, 13.28, -43.04)
CIE-LCHlch(29.17, 45.04, 287.15°)
OKLaboklab(39.38% -0.0196 -0.1238)
OKLCHoklch(39.38% 0.125 261)
XYZxyz(6.8425, 5.9062, 24.0672)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4288 #88611B
analogous
#1B7988 #1B4288 #2B1B88
triadic
#1B4288 #881B42 #42881B
tetradic
#1B4288 #881B79 #88611B #1B882B
square
#1B4288 #881B79 #88611B #1B882B
split-complementary
#1B4288 #882B1B #79881B
monochromatic
#071022 #112955 #1B4288 #255BBB #4479DA

Accessibility & contrast

On white

9.63
#1B4288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1B4288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4288
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4288#FFFFFF#000000##FFFFFF
##1B42881.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8B
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b4288;
/* rgb */ color: rgb(27, 66, 136);
/* oklch */ color: oklch(39.4% 0.125 261.0);
Tailwind
colors: {
  custom: {
    50: '#6975ab',
    500: '#1b4288',
    950: '#000000',
  },
}
SCSS
$custom: #1b4288;
$custom-light: #6975ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4288",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 218.532,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39384,
    "c": 0.12536,
    "h": 261
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#1B4288
secondary
#BB9044
accent
#AC3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B4288

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

Preview Lab → · Contrast checker → · Palette generator →

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