#1A2A9F#1A2A9F

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

Color values

HEX#1A2A9F
RGBrgb(26, 42, 159)
HSLhsl(233, 72%, 36%)
HSVhsv(233, 84%, 62%)
CMYKcmyk(83.6%, 73.6%, 0%, 37.6%)
CIE-LABlab(24.88, 38.33, -64.18)
CIE-LCHlch(24.88, 74.76, 300.85°)
OKLaboklab(36.82% -0.0062 -0.186)
OKLCHoklch(36.82% 0.186 268.1)
XYZxyz(7.5098, 4.3778, 33.2434)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A9F #9F8F1A
analogous
#1A6D9F #1A2A9F #4D1A9F
triadic
#1A2A9F #9F1A2A #2A9F1A
tetradic
#1A2A9F #9F1A6D #9F8F1A #1A9F4D
square
#1A2A9F #9F1A6D #9F8F1A #1A9F4D
split-complementary
#1A2A9F #9F4D1A #6D9F1A
monochromatic
#090E36 #111C6A #1A2A9F #2338D4 #5162E3

Accessibility & contrast

On white

11.20
#1A2A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2A9F
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A9F#FFFFFF#000000##FFFFFF
##1A2A9F1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a2a9f;
/* rgb */ color: rgb(26, 42, 159);
/* oklch */ color: oklch(36.8% 0.186 268.1);
Tailwind
colors: {
  custom: {
    50: '#7164bd',
    500: '#1a2a9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a9f;
$custom-light: #7164bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a9f",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 232.782,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36819,
    "c": 0.18612,
    "h": 268.1
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A2A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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