#1B199F#1B199F

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

Color values

HEX#1B199F
RGBrgb(27, 25, 159)
HSLhsl(241, 73%, 36%)
HSVhsv(241, 84%, 62%)
CMYKcmyk(83%, 84.3%, 0%, 37.6%)
CIE-LABlab(21.69, 47.67, -69.47)
CIE-LCHlch(21.69, 84.25, 304.46°)
OKLaboklab(34.58% -0.0009 -0.2011)
OKLCHoklch(34.58% 0.201 269.8)
XYZxyz(7.0555, 3.4306, 33.0845)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B199F #9D9F19
analogous
#195A9F #1B199F #5E199F
triadic
#1B199F #9F1B19 #199F1B
tetradic
#1B199F #9F195A #9D9F19 #199F5E
square
#1B199F #9F195A #9D9F19 #199F5E
split-complementary
#1B199F #9F5E19 #5A9F19
monochromatic
#090835 #12116A #1B199F #2421D4 #514FE3

Accessibility & contrast

On white

12.45
#1B199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B199F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B199F#FFFFFF#000000##FFFFFF
##1B199F1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b199f;
/* rgb */ color: rgb(27, 25, 159);
/* oklch */ color: oklch(34.6% 0.201 269.8);
Tailwind
colors: {
  custom: {
    50: '#735abd',
    500: '#1b199f',
    950: '#000000',
  },
}
SCSS
$custom: #1b199f;
$custom-light: #735abd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b199f",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 240.896,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34583,
    "c": 0.2011,
    "h": 269.8
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#1B199F
secondary
#C4C64E
accent
#F038ED
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B199F

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

Preview Lab → · Contrast checker → · Palette generator →

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