#1A207A#1A207A

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

Color values

HEX#1A207A
RGBrgb(26, 32, 122)
HSLhsl(236, 65%, 29%)
HSVhsv(236, 79%, 48%)
CMYKcmyk(78.7%, 73.8%, 0%, 52.2%)
CIE-LABlab(18.62, 31.06, -51.46)
CIE-LCHlch(18.62, 60.11, 301.11°)
OKLaboklab(31.13% 0.0029 -0.149)
OKLCHoklch(31.13% 0.149 271.1)
XYZxyz(4.4542, 2.6573, 18.6867)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A207A #7A741A
analogous
#1A507A #1A207A #441A7A
triadic
#1A207A #7A1A20 #207A1A
tetradic
#1A207A #7A1A50 #7A741A #1A7A44
square
#1A207A #7A1A50 #7A741A #1A7A44
split-complementary
#1A207A #7A441A #507A1A
monochromatic
#050719 #0F1348 #1A207A #252DAC #3943D5

Accessibility & contrast

On white

13.71
#1A207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A207A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A207A#FFFFFF#000000##FFFFFF
##1A207A1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.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: #1a207a;
/* rgb */ color: rgb(26, 32, 122);
/* oklch */ color: oklch(31.1% 0.149 271.1);
Tailwind
colors: {
  custom: {
    50: '#685ca1',
    500: '#1a207a',
    950: '#000000',
  },
}
SCSS
$custom: #1a207a;
$custom-light: #685ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a207a",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 236.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31129,
    "c": 0.149,
    "h": 271.1
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#1A207A
secondary
#AEA841
accent
#DD40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A207A

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

Preview Lab → · Contrast checker → · Palette generator →

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