#1A206C#1A206C

#1A206C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.130 H 272.0°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#1A206C
RGBrgb(26, 32, 108)
HSLhsl(236, 61%, 26%)
HSVhsv(236, 76%, 42%)
CMYKcmyk(75.9%, 70.4%, 0%, 57.6%)
CIE-LABlab(17.16, 25.75, -44.83)
CIE-LCHlch(17.16, 51.70, 299.87°)
OKLaboklab(29.63% 0.0046 -0.1296)
OKLCHoklch(29.63% 0.13 272)
XYZxyz(3.6484, 2.3350, 14.4429)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A206C #6C661A
analogous
#1A496C #1A206C #3D1A6C
triadic
#1A206C #6C1A20 #206C1A
tetradic
#1A206C #6C1A49 #6C661A #1A6C3D
square
#1A206C #6C1A49 #6C661A #1A6C3D
split-complementary
#1A206C #6C3D1A #496C1A
monochromatic
#060719 #0E113B #1A206C #262F9D #333ECE

Accessibility & contrast

On white

14.31
#1A206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1A206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A206C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A206C#FFFFFF#000000##FFFFFF
##1A206C1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a206c;
/* rgb */ color: rgb(26, 32, 108);
/* oklch */ color: oklch(29.6% 0.130 272.0);
Tailwind
colors: {
  custom: {
    50: '#645b97',
    500: '#1a206c',
    950: '#000000',
  },
}
SCSS
$custom: #1a206c;
$custom-light: #645b97;
$custom-dark: #000000;
JSON
{
  "hex": "#1a206c",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 235.61,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29632,
    "c": 0.1297,
    "h": 272
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#1A206C
secondary
#A19A41
accent
#D943E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A206C

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

Preview Lab → · Contrast checker → · Palette generator →

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