#1B288D#1B288D

#1B288D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.165 H 269.2°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#1B288D
RGBrgb(27, 40, 141)
HSLhsl(233, 68%, 33%)
HSVhsv(233, 81%, 55%)
CMYKcmyk(80.9%, 71.6%, 0%, 44.7%)
CIE-LABlab(22.56, 33.07, -56.94)
CIE-LCHlch(22.56, 65.84, 300.15°)
OKLaboklab(34.59% -0.0024 -0.1649)
OKLCHoklch(34.59% 0.165 269.2)
XYZxyz(6.0169, 3.6730, 25.5860)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B288D #8D801B
analogous
#1B618D #1B288D #471B8D
triadic
#1B288D #8D1B28 #288D1B
tetradic
#1B288D #8D1B61 #8D801B #1B8D47
square
#1B288D #8D1B61 #8D801B #1B8D47
split-complementary
#1B288D #8D471B #618D1B
monochromatic
#070B26 #11195A #1B288D #2537C0 #4758DC

Accessibility & contrast

On white

12.11
#1B288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B288D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B288D#FFFFFF#000000##FFFFFF
##1B288D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b288d;
/* rgb */ color: rgb(27, 40, 141);
/* oklch */ color: oklch(34.6% 0.165 269.2);
Tailwind
colors: {
  custom: {
    50: '#6d62af',
    500: '#1b288d',
    950: '#000000',
  },
}
SCSS
$custom: #1b288d;
$custom-light: #6d62af;
$custom-dark: #000000;
JSON
{
  "hex": "#1b288d",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 233.158,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34588,
    "c": 0.16493,
    "h": 269.2
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#1B288D
secondary
#BDB046
accent
#D73DEB
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1B288D

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

Preview Lab → · Contrast checker → · Palette generator →

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