#1A207B#1A207B

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

Color values

HEX#1A207B
RGBrgb(26, 32, 123)
HSLhsl(236, 65%, 29%)
HSVhsv(236, 79%, 48%)
CMYKcmyk(78.9%, 74%, 0%, 51.8%)
CIE-LABlab(18.72, 31.43, -51.92)
CIE-LCHlch(18.72, 60.70, 301.19°)
OKLaboklab(31.24% 0.0027 -0.1503)
OKLCHoklch(31.24% 0.15 271)
XYZxyz(4.5165, 2.6822, 19.0147)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A207B #7B751A
analogous
#1A517B #1A207B #451A7B
triadic
#1A207B #7B1A20 #207B1A
tetradic
#1A207B #7B1A51 #7B751A #1A7B45
square
#1A207B #7B1A51 #7B751A #1A7B45
split-complementary
#1A207B #7B451A #517B1A
monochromatic
#050719 #0F1348 #1A207B #252DAE #3A44D5

Accessibility & contrast

On white

13.67
#1A207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A207B
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A207B#FFFFFF#000000##FFFFFF
##1A207B1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a207b;
/* rgb */ color: rgb(26, 32, 123);
/* oklch */ color: oklch(31.2% 0.150 271.0);
Tailwind
colors: {
  custom: {
    50: '#685ca2',
    500: '#1a207b',
    950: '#000000',
  },
}
SCSS
$custom: #1a207b;
$custom-light: #685ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a207b",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 236.289,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31239,
    "c": 0.15033,
    "h": 271
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#1A207B
secondary
#AFA842
accent
#DE40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A207B

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

Preview Lab → · Contrast checker → · Palette generator →

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