#1B207A#1B207A

#1B207A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.149 H 271.5°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#1B207A
RGBrgb(27, 32, 122)
HSLhsl(237, 64%, 29%)
HSVhsv(237, 78%, 48%)
CMYKcmyk(77.9%, 73.8%, 0%, 52.2%)
CIE-LABlab(18.67, 31.16, -51.36)
CIE-LCHlch(18.67, 60.08, 301.24°)
OKLaboklab(31.19% 0.004 -0.1487)
OKLCHoklch(31.19% 0.149 271.5)
XYZxyz(4.4802, 2.6707, 18.6880)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B207A #7A751B
analogous
#1B507A #1B207A #461B7A
triadic
#1B207A #7A1B20 #207A1B
tetradic
#1B207A #7A1B50 #7A751B #1B7A46
square
#1B207A #7A1B50 #7A751B #1B7A46
split-complementary
#1B207A #7A461B #507A1B
monochromatic
#060719 #101348 #1B207A #262DAC #3C44D4

Accessibility & contrast

On white

13.69
#1B207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1B207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B207A
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B207A#FFFFFF#000000##FFFFFF
##1B207A1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1b207a;
/* rgb */ color: rgb(27, 32, 122);
/* oklch */ color: oklch(31.2% 0.149 271.5);
Tailwind
colors: {
  custom: {
    50: '#695ca1',
    500: '#1b207a',
    950: '#000000',
  },
}
SCSS
$custom: #1b207a;
$custom-light: #695ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b207a",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 236.842,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31187,
    "c": 0.14871,
    "h": 271.5
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#1B207A
secondary
#AEA843
accent
#DE41E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B207A

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

Preview Lab → · Contrast checker → · Palette generator →

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