#1A2073#1A2073

#1A2073 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.139 H 271.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#1A2073
RGBrgb(26, 32, 115)
HSLhsl(236, 63%, 28%)
HSVhsv(236, 77%, 45%)
CMYKcmyk(77.4%, 72.2%, 0%, 54.9%)
CIE-LABlab(17.87, 28.43, -48.19)
CIE-LCHlch(17.87, 55.95, 300.54°)
OKLaboklab(30.37% 0.0038 -0.1394)
OKLCHoklch(30.37% 0.139 271.6)
XYZxyz(4.0360, 2.4900, 16.4842)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2073 #736D1A
analogous
#1A4C73 #1A2073 #401A73
triadic
#1A2073 #731A20 #20731A
tetradic
#1A2073 #731A4C #736D1A #1A7340
square
#1A2073 #731A4C #736D1A #1A7340
split-complementary
#1A2073 #73401A #4C731A
monochromatic
#060719 #0F1241 #1A2073 #252EA5 #3640D2

Accessibility & contrast

On white

14.02
#1A2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2073
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2073#FFFFFF#000000##FFFFFF
##1A20731.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002771
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a2073;
/* rgb */ color: rgb(26, 32, 115);
/* oklch */ color: oklch(30.4% 0.139 271.6);
Tailwind
colors: {
  custom: {
    50: '#665c9c',
    500: '#1a2073',
    950: '#000000',
  },
}
SCSS
$custom: #1a2073;
$custom-light: #665c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2073",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 235.955,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30371,
    "c": 0.13948,
    "h": 271.6
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#1A2073
secondary
#A8A141
accent
#DB42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2073

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

Preview Lab → · Contrast checker → · Palette generator →

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