#1B208F#1B208F

#1B208F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.176 H 270.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1B208F
RGBrgb(27, 32, 143)
HSLhsl(237, 68%, 33%)
HSVhsv(237, 81%, 56%)
CMYKcmyk(81.1%, 77.6%, 0%, 43.9%)
CIE-LABlab(21.01, 38.71, -60.73)
CIE-LCHlch(21.01, 72.02, 302.51°)
OKLaboklab(33.55% 0.0006 -0.1759)
OKLCHoklch(33.55% 0.176 270.2)
XYZxyz(5.9247, 3.2485, 26.2960)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B208F #8F8A1B
analogous
#1B5A8F #1B208F #501B8F
triadic
#1B208F #8F1B20 #208F1B
tetradic
#1B208F #8F1B5A #8F8A1B #1B8F50
square
#1B208F #8F1B5A #8F8A1B #1B8F50
split-complementary
#1B208F #8F501B #5A8F1B
monochromatic
#080928 #11145C #1B208F #252CC2 #484EDC

Accessibility & contrast

On white

12.73
#1B208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1B208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B208F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B208F#FFFFFF#000000##FFFFFF
##1B208F1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1b208f;
/* rgb */ color: rgb(27, 32, 143);
/* oklch */ color: oklch(33.5% 0.176 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e5db1',
    500: '#1b208f',
    950: '#000000',
  },
}
SCSS
$custom: #1b208f;
$custom-light: #6e5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b208f",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 237.414,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33547,
    "c": 0.17591,
    "h": 270.2
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#1B208F
secondary
#BEB948
accent
#E43DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1B208F

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

Preview Lab → · Contrast checker → · Palette generator →

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