#1B208D#1B208D

#1B208D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.173 H 270.3°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#1B208D
RGBrgb(27, 32, 141)
HSLhsl(237, 68%, 33%)
HSVhsv(237, 81%, 55%)
CMYKcmyk(80.9%, 77.3%, 0%, 44.7%)
CIE-LABlab(20.78, 38.01, -59.87)
CIE-LCHlch(20.78, 70.92, 302.41°)
OKLaboklab(33.32% 0.0009 -0.1734)
OKLCHoklch(33.32% 0.173 270.3)
XYZxyz(5.7746, 3.1885, 25.5052)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B208D #8D881B
analogous
#1B598D #1B208D #4F1B8D
triadic
#1B208D #8D1B20 #208D1B
tetradic
#1B208D #8D1B59 #8D881B #1B8D4F
square
#1B208D #8D1B59 #8D881B #1B8D4F
split-complementary
#1B208D #8D4F1B #598D1B
monochromatic
#070926 #11145A #1B208D #252CC0 #474DDC

Accessibility & contrast

On white

12.82
#1B208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1B208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B208D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B208D#FFFFFF#000000##FFFFFF
##1B208D1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b208d;
/* rgb */ color: rgb(27, 32, 141);
/* oklch */ color: oklch(33.3% 0.173 270.3);
Tailwind
colors: {
  custom: {
    50: '#6e5db0',
    500: '#1b208d',
    950: '#000000',
  },
}
SCSS
$custom: #1b208d;
$custom-light: #6e5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b208d",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 237.368,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33317,
    "c": 0.1734,
    "h": 270.3
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#1B208D
secondary
#BDB846
accent
#E33DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #1B208D

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

Preview Lab → · Contrast checker → · Palette generator →

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