#1B189E#1B189E

#1B189E is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.4% C 0.201 H 269.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1B189E
RGBrgb(27, 24, 158)
HSLhsl(241, 74%, 36%)
HSVhsv(241, 85%, 62%)
CMYKcmyk(82.9%, 84.8%, 0%, 38%)
CIE-LABlab(21.41, 47.82, -69.33)
CIE-LCHlch(21.41, 84.22, 304.59°)
OKLaboklab(34.35% -0.0005 -0.2007)
OKLCHoklch(34.35% 0.201 269.9)
XYZxyz(6.9481, 3.3541, 32.6223)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B189E #9B9E18
analogous
#18589E #1B189E #5E189E
triadic
#1B189E #9E1B18 #189E1B
tetradic
#1B189E #9E1858 #9B9E18 #189E5E
square
#1B189E #9E1858 #9B9E18 #189E5E
split-complementary
#1B189E #9E5E18 #589E18
monochromatic
#090834 #121069 #1B189E #2420D3 #504DE4

Accessibility & contrast

On white

12.57
#1B189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1B189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B189E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B189E#FFFFFF#000000##FFFFFF
##1B189E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002C9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b189e;
/* rgb */ color: rgb(27, 24, 158);
/* oklch */ color: oklch(34.4% 0.201 269.9);
Tailwind
colors: {
  custom: {
    50: '#735abc',
    500: '#1b189e',
    950: '#000000',
  },
}
SCSS
$custom: #1b189e;
$custom-light: #735abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b189e",
  "rgb": {
    "r": 27,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 241.343,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34351,
    "c": 0.20066,
    "h": 269.9
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#1B189E
secondary
#C3C64C
accent
#F038EC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B189E

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

Preview Lab → · Contrast checker → · Palette generator →

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