#1B208A#1B208A

#1B208A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.170 H 270.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1B208A
RGBrgb(27, 32, 138)
HSLhsl(237, 67%, 32%)
HSVhsv(237, 80%, 54%)
CMYKcmyk(80.4%, 76.8%, 0%, 45.9%)
CIE-LABlab(20.44, 36.95, -58.56)
CIE-LCHlch(20.44, 69.25, 302.25°)
OKLaboklab(32.97% 0.0014 -0.1696)
OKLCHoklch(32.97% 0.17 270.5)
XYZxyz(5.5544, 3.1004, 24.3455)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B208A #8A851B
analogous
#1B588A #1B208A #4D1B8A
triadic
#1B208A #8A1B20 #208A1B
tetradic
#1B208A #8A1B58 #8A851B #1B8A4D
square
#1B208A #8A1B58 #8A851B #1B8A4D
split-complementary
#1B208A #8A4D1B #588A1B
monochromatic
#070824 #111457 #1B208A #252CBD #454CDB

Accessibility & contrast

On white

12.96
#1B208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1B208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B208A
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B208A#FFFFFF#000000##FFFFFF
##1B208A1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b208a;
/* rgb */ color: rgb(27, 32, 138);
/* oklch */ color: oklch(33.0% 0.170 270.5);
Tailwind
colors: {
  custom: {
    50: '#6d5dad',
    500: '#1b208a',
    950: '#000000',
  },
}
SCSS
$custom: #1b208a;
$custom-light: #6d5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b208a",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 237.297,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32974,
    "c": 0.16961,
    "h": 270.5
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#1B208A
secondary
#BCB745
accent
#E23EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1B208A

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

Preview Lab → · Contrast checker → · Palette generator →

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