#1B207C#1B207C

#1B207C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.151 H 271.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#1B207C
RGBrgb(27, 32, 124)
HSLhsl(237, 64%, 30%)
HSVhsv(237, 78%, 49%)
CMYKcmyk(78.2%, 74.2%, 0%, 51.4%)
CIE-LABlab(18.89, 31.90, -52.29)
CIE-LCHlch(18.89, 61.25, 301.39°)
OKLaboklab(31.41% 0.0037 -0.1513)
OKLCHoklch(31.41% 0.151 271.4)
XYZxyz(4.6054, 2.7208, 19.3473)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B207C #7C771B
analogous
#1B517C #1B207C #471B7C
triadic
#1B207C #7C1B20 #207C1B
tetradic
#1B207C #7C1B51 #7C771B #1B7C47
square
#1B207C #7C1B51 #7C771B #1B7C47
split-complementary
#1B207C #7C471B #517C1B
monochromatic
#050619 #10134A #1B207C #262DAE #3D45D5

Accessibility & contrast

On white

13.60
#1B207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1B207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B207C
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B207C#FFFFFF#000000##FFFFFF
##1B207C1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b207c;
/* rgb */ color: rgb(27, 32, 124);
/* oklch */ color: oklch(31.4% 0.151 271.4);
Tailwind
colors: {
  custom: {
    50: '#695ca3',
    500: '#1b207c',
    950: '#000000',
  },
}
SCSS
$custom: #1b207c;
$custom-light: #695ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b207c",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 236.907,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31406,
    "c": 0.15139,
    "h": 271.4
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#1B207C
secondary
#B0AA43
accent
#DF41E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B207C

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

Preview Lab → · Contrast checker → · Palette generator →

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