#1B189F#1B189F

#1B189F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.5% C 0.202 H 269.8°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#1B189F
RGBrgb(27, 24, 159)
HSLhsl(241, 74%, 36%)
HSVhsv(241, 85%, 62%)
CMYKcmyk(83%, 84.9%, 0%, 37.6%)
CIE-LABlab(21.54, 48.13, -69.73)
CIE-LCHlch(21.54, 84.72, 304.61°)
OKLaboklab(34.48% -0.0007 -0.2018)
OKLCHoklch(34.48% 0.202 269.8)
XYZxyz(7.0345, 3.3887, 33.0775)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B189F #9C9F18
analogous
#18589F #1B189F #5E189F
triadic
#1B189F #9F1B18 #189F1B
tetradic
#1B189F #9F1858 #9C9F18 #189F5E
square
#1B189F #9F1858 #9C9F18 #189F5E
split-complementary
#1B189F #9F5E18 #589F18
monochromatic
#090835 #12106A #1B189F #2420D4 #514DE4

Accessibility & contrast

On white

12.52
#1B189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B189F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B189F#FFFFFF#000000##FFFFFF
##1B189F1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b189f;
/* rgb */ color: rgb(27, 24, 159);
/* oklch */ color: oklch(34.5% 0.202 269.8);
Tailwind
colors: {
  custom: {
    50: '#735abd',
    500: '#1b189f',
    950: '#000000',
  },
}
SCSS
$custom: #1b189f;
$custom-light: #735abd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b189f",
  "rgb": {
    "r": 27,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 241.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34476,
    "c": 0.20182,
    "h": 269.8
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#1B189F
secondary
#C3C64D
accent
#F037EC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B189F

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

Preview Lab → · Contrast checker → · Palette generator →

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