#1B198B#1B198B

#1B198B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.177 H 271.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1B198B
RGBrgb(27, 25, 139)
HSLhsl(241, 70%, 32%)
HSVhsv(241, 82%, 55%)
CMYKcmyk(80.6%, 82%, 0%, 45.5%)
CIE-LABlab(19.19, 41.23, -61.26)
CIE-LCHlch(19.19, 73.84, 303.94°)
OKLaboklab(32.13% 0.0036 -0.1773)
OKLCHoklch(32.13% 0.177 271.2)
XYZxyz(5.4583, 2.7917, 24.6723)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B198B #898B19
analogous
#19508B #1B198B #54198B
triadic
#1B198B #8B1B19 #198B1B
tetradic
#1B198B #8B1950 #898B19 #198B54
square
#1B198B #8B1950 #898B19 #198B54
split-complementary
#1B198B #8B5419 #508B19
monochromatic
#070623 #111057 #1B198B #2522BF #4441DD

Accessibility & contrast

On white

13.48
#1B198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B198B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B198B#FFFFFF#000000##FFFFFF
##1B198B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1b198b;
/* rgb */ color: rgb(27, 25, 139);
/* oklch */ color: oklch(32.1% 0.177 271.2);
Tailwind
colors: {
  custom: {
    50: '#6e59ae',
    500: '#1b198b',
    950: '#000000',
  },
}
SCSS
$custom: #1b198b;
$custom-light: #6e59ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b198b",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 241.053,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32128,
    "c": 0.17737,
    "h": 271.2
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#1B198B
secondary
#BCBE42
accent
#EC3BE9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #1B198B

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

Preview Lab → · Contrast checker → · Palette generator →

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