#1A42A0#1A42A0

#1A42A0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.159 H 263.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1A42A0
RGBrgb(26, 66, 160)
HSLhsl(222, 72%, 36%)
HSVhsv(222, 84%, 63%)
CMYKcmyk(83.8%, 58.8%, 0%, 37.3%)
CIE-LABlab(31.00, 22.88, -54.75)
CIE-LCHlch(31.00, 59.34, 292.68°)
OKLaboklab(41.35% -0.018 -0.1582)
OKLCHoklch(41.35% 0.159 263.5)
XYZxyz(8.7171, 6.6530, 34.0756)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A42A0 #A0781A
analogous
#1A85A0 #1A42A0 #351AA0
triadic
#1A42A0 #A01A42 #42A01A
tetradic
#1A42A0 #A01A85 #A0781A #1AA035
square
#1A42A0 #A01A85 #A0781A #1AA035
split-complementary
#1A42A0 #A0351A #85A01A
monochromatic
#091737 #112C6B #1A42A0 #2358D5 #527DE3

Accessibility & contrast

On white

9.01
#1A42A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1A42A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A42A0
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A42A0#FFFFFF#000000##FFFFFF
##1A42A01.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a42a0;
/* rgb */ color: rgb(26, 66, 160);
/* oklch */ color: oklch(41.3% 0.159 263.5);
Tailwind
colors: {
  custom: {
    50: '#6f75bd',
    500: '#1a42a0',
    950: '#000000',
  },
}
SCSS
$custom: #1a42a0;
$custom-light: #6f75bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a42a0",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 160
  },
  "hsl": {
    "h": 222.09,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.15927,
    "h": 263.5
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#1A42A0
secondary
#C5A250
accent
#B939EF
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A42A0

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

Preview Lab → · Contrast checker → · Palette generator →

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