#1B206F#1B206F

#1B206F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.134 H 272.3°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#1B206F
RGBrgb(27, 32, 111)
HSLhsl(236, 61%, 27%)
HSVhsv(236, 76%, 44%)
CMYKcmyk(75.7%, 71.2%, 0%, 56.5%)
CIE-LABlab(17.52, 27.03, -46.18)
CIE-LCHlch(17.52, 53.51, 300.34°)
OKLaboklab(30.01% 0.0055 -0.1335)
OKLCHoklch(30.01% 0.134 272.3)
XYZxyz(3.8368, 2.4133, 15.2995)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B206F #6F6A1B
analogous
#1B4A6F #1B206F #401B6F
triadic
#1B206F #6F1B20 #206F1B
tetradic
#1B206F #6F1B4A #6F6A1B #1B6F40
square
#1B206F #6F1B4A #6F6A1B #1B6F40
split-complementary
#1B206F #6F401B #4A6F1B
monochromatic
#060719 #0F123E #1B206F #272EA0 #363FCE

Accessibility & contrast

On white

14.16
#1B206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1B206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B206F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B206F#FFFFFF#000000##FFFFFF
##1B206F1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b206f;
/* rgb */ color: rgb(27, 32, 111);
/* oklch */ color: oklch(30.0% 0.134 272.3);
Tailwind
colors: {
  custom: {
    50: '#665b99',
    500: '#1b206f',
    950: '#000000',
  },
}
SCSS
$custom: #1b206f;
$custom-light: #665b99;
$custom-dark: #000000;
JSON
{
  "hex": "#1b206f",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 236.429,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30008,
    "c": 0.13364,
    "h": 272.3
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#1B206F
secondary
#A49E42
accent
#DA44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1B206F

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

Preview Lab → · Contrast checker → · Palette generator →

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