#1A207D#1A207D

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

Color values

HEX#1A207D
RGBrgb(26, 32, 125)
HSLhsl(236, 66%, 30%)
HSVhsv(236, 79%, 49%)
CMYKcmyk(79.2%, 74.4%, 0%, 51%)
CIE-LABlab(18.94, 32.17, -52.84)
CIE-LCHlch(18.94, 61.86, 301.34°)
OKLaboklab(31.46% 0.0024 -0.153)
OKLCHoklch(31.46% 0.153 270.9)
XYZxyz(4.6429, 2.7328, 19.6808)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A207D #7D771A
analogous
#1A517D #1A207D #461A7D
triadic
#1A207D #7D1A20 #207D1A
tetradic
#1A207D #7D1A51 #7D771A #1A7D46
square
#1A207D #7D1A51 #7D771A #1A7D46
split-complementary
#1A207D #7D461A #517D1A
monochromatic
#050619 #0F134A #1A207D #252DB0 #3B45D6

Accessibility & contrast

On white

13.58
#1A207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A207D
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A207D#FFFFFF#000000##FFFFFF
##1A207D1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.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: #1a207d;
/* rgb */ color: rgb(26, 32, 125);
/* oklch */ color: oklch(31.5% 0.153 270.9);
Tailwind
colors: {
  custom: {
    50: '#695ca4',
    500: '#1a207d',
    950: '#000000',
  },
}
SCSS
$custom: #1a207d;
$custom-light: #695ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a207d",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 236.364,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31459,
    "c": 0.153,
    "h": 270.9
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#1A207D
secondary
#B1AA42
accent
#DE3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A207D

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

Preview Lab → · Contrast checker → · Palette generator →

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