#1A2AA0#1A2AA0

#1A2AA0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.187 H 268.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#1A2AA0
RGBrgb(26, 42, 160)
HSLhsl(233, 72%, 36%)
HSVhsv(233, 84%, 63%)
CMYKcmyk(83.8%, 73.8%, 0%, 37.3%)
CIE-LABlab(24.99, 38.69, -64.61)
CIE-LCHlch(24.99, 75.31, 300.91°)
OKLaboklab(36.93% -0.0063 -0.1873)
OKLCHoklch(36.93% 0.187 268.1)
XYZxyz(7.5969, 4.4127, 33.7022)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2AA0 #A0901A
analogous
#1A6DA0 #1A2AA0 #4D1AA0
triadic
#1A2AA0 #A01A2A #2AA01A
tetradic
#1A2AA0 #A01A6D #A0901A #1AA04D
square
#1A2AA0 #A01A6D #A0901A #1AA04D
split-complementary
#1A2AA0 #A04D1A #6DA01A
monochromatic
#090E37 #111C6B #1A2AA0 #2338D5 #5263E3

Accessibility & contrast

On white

11.15
#1A2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1A2AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2AA0
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2AA0#FFFFFF#000000##FFFFFF
##1A2AA01.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a2aa0;
/* rgb */ color: rgb(26, 42, 160);
/* oklch */ color: oklch(36.9% 0.187 268.1);
Tailwind
colors: {
  custom: {
    50: '#7264bd',
    500: '#1a2aa0',
    950: '#000000',
  },
}
SCSS
$custom: #1a2aa0;
$custom-light: #7264bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2aa0",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 232.836,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36928,
    "c": 0.18738,
    "h": 268.1
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#1A2AA0
secondary
#C5B750
accent
#D939EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1A2AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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