#1B207D#1B207D

#1B207D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.153 H 271.3°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#1B207D
RGBrgb(27, 32, 125)
HSLhsl(237, 64%, 30%)
HSVhsv(237, 78%, 49%)
CMYKcmyk(78.4%, 74.4%, 0%, 51%)
CIE-LABlab(19.00, 32.27, -52.74)
CIE-LCHlch(19.00, 61.83, 301.46°)
OKLaboklab(31.52% 0.0036 -0.1527)
OKLCHoklch(31.52% 0.153 271.3)
XYZxyz(4.6689, 2.7462, 19.6821)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B207D #7D781B
analogous
#1B517D #1B207D #471B7D
triadic
#1B207D #7D1B20 #207D1B
tetradic
#1B207D #7D1B51 #7D781B #1B7D47
square
#1B207D #7D1B51 #7D781B #1B7D47
split-complementary
#1B207D #7D471B #517D1B
monochromatic
#050619 #10134B #1B207D #262DAF #3D45D5

Accessibility & contrast

On white

13.55
#1B207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1B207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B207D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B207D#FFFFFF#000000##FFFFFF
##1B207D1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b207d;
/* rgb */ color: rgb(27, 32, 125);
/* oklch */ color: oklch(31.5% 0.153 271.3);
Tailwind
colors: {
  custom: {
    50: '#695ca4',
    500: '#1b207d',
    950: '#000000',
  },
}
SCSS
$custom: #1b207d;
$custom-light: #695ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b207d",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 236.939,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31516,
    "c": 0.15272,
    "h": 271.3
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#1B207D
secondary
#B1AB43
accent
#DF40E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1B207D

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

Preview Lab → · Contrast checker → · Palette generator →

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