#1A2173#1A2173

#1A2173 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.138 H 271.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#1A2173
RGBrgb(26, 33, 115)
HSLhsl(235, 63%, 28%)
HSVhsv(235, 77%, 45%)
CMYKcmyk(77.4%, 71.3%, 0%, 54.9%)
CIE-LABlab(18.12, 27.76, -47.79)
CIE-LCHlch(18.12, 55.27, 300.16°)
OKLaboklab(30.55% 0.0032 -0.1382)
OKLCHoklch(30.55% 0.138 271.3)
XYZxyz(4.0633, 2.5447, 16.4934)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2173 #736C1A
analogous
#1A4D73 #1A2173 #3F1A73
triadic
#1A2173 #731A21 #21731A
tetradic
#1A2173 #731A4D #736C1A #1A733F
square
#1A2173 #731A4D #736C1A #1A733F
split-complementary
#1A2173 #733F1A #4D731A
monochromatic
#060719 #0F1341 #1A2173 #252FA5 #3642D2

Accessibility & contrast

On white

13.92
#1A2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2173
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2173#FFFFFF#000000##FFFFFF
##1A21731.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2173;
/* rgb */ color: rgb(26, 33, 115);
/* oklch */ color: oklch(30.5% 0.138 271.3);
Tailwind
colors: {
  custom: {
    50: '#665c9c',
    500: '#1a2173',
    950: '#000000',
  },
}
SCSS
$custom: #1a2173;
$custom-light: #665c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2173",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 235.281,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30549,
    "c": 0.13828,
    "h": 271.3
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#1A2173
secondary
#A8A041
accent
#D942E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2173

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

Preview Lab → · Contrast checker → · Palette generator →

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