#1B199C#1B199C

#1B199C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.198 H 269.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#1B199C
RGBrgb(27, 25, 156)
HSLhsl(241, 72%, 35%)
HSVhsv(241, 84%, 61%)
CMYKcmyk(82.7%, 84%, 0%, 38.8%)
CIE-LABlab(21.31, 46.72, -68.27)
CIE-LCHlch(21.31, 82.73, 304.39°)
OKLaboklab(34.21% -0.0002 -0.1976)
OKLCHoklch(34.21% 0.198 269.9)
XYZxyz(6.7983, 3.3278, 31.7301)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B199C #9A9C19
analogous
#19589C #1B199C #5C199C
triadic
#1B199C #9C1B19 #199C1B
tetradic
#1B199C #9C1958 #9A9C19 #199C5C
square
#1B199C #9C1958 #9A9C19 #199C5C
split-complementary
#1B199C #9C5C19 #589C19
monochromatic
#090833 #121167 #1B199C #2421D1 #4F4DE2

Accessibility & contrast

On white

12.61
#1B199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B199C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B199C#FFFFFF#000000##FFFFFF
##1B199C1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA0
Deuteranopia (green-blind)
#002C9A
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b199c;
/* rgb */ color: rgb(27, 25, 156);
/* oklch */ color: oklch(34.2% 0.198 269.9);
Tailwind
colors: {
  custom: {
    50: '#725abb',
    500: '#1b199c',
    950: '#000000',
  },
}
SCSS
$custom: #1b199c;
$custom-light: #725abb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b199c",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 240.916,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34211,
    "c": 0.19761,
    "h": 269.9
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#1B199C
secondary
#C3C44C
accent
#EF39EC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B199C

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

Preview Lab → · Contrast checker → · Palette generator →

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