#1B209D#1B209D

#1B209D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.193 H 269.4°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#1B209D
RGBrgb(27, 32, 157)
HSLhsl(238, 71%, 36%)
HSVhsv(238, 83%, 62%)
CMYKcmyk(82.8%, 79.6%, 0%, 38.4%)
CIE-LABlab(22.65, 43.50, -66.65)
CIE-LCHlch(22.65, 79.59, 303.13°)
OKLaboklab(35.18% -0.0019 -0.1931)
OKLCHoklch(35.18% 0.193 269.4)
XYZxyz(7.0522, 3.6995, 32.2341)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B209D #9D981B
analogous
#1B619D #1B209D #571B9D
triadic
#1B209D #9D1B20 #209D1B
tetradic
#1B209D #9D1B61 #9D981B #1B9D57
square
#1B209D #9D1B61 #9D981B #1B9D57
split-complementary
#1B209D #9D571B #619D1B
monochromatic
#090B35 #121569 #1B209D #242BD1 #5157E1

Accessibility & contrast

On white

12.07
#1B209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1B209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B209D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B209D#FFFFFF#000000##FFFFFF
##1B209D1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#002F9B
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b209d;
/* rgb */ color: rgb(27, 32, 157);
/* oklch */ color: oklch(35.2% 0.193 269.4);
Tailwind
colors: {
  custom: {
    50: '#725ebb',
    500: '#1b209d',
    950: '#000000',
  },
}
SCSS
$custom: #1b209d;
$custom-light: #725ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b209d",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 237.692,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35181,
    "c": 0.19308,
    "h": 269.4
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#1B209D
secondary
#C4BF50
accent
#E73AED
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1B209D

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

Preview Lab → · Contrast checker → · Palette generator →

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