#1A3E96#1A3E96

#1A3E96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.151 H 263.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#1A3E96
RGBrgb(26, 62, 150)
HSLhsl(223, 70%, 35%)
HSVhsv(223, 83%, 59%)
CMYKcmyk(82.7%, 58.7%, 0%, 41.2%)
CIE-LABlab(29.07, 21.62, -51.82)
CIE-LCHlch(29.07, 56.15, 292.65°)
OKLaboklab(39.64% -0.016 -0.1497)
OKLCHoklch(39.64% 0.151 263.9)
XYZxyz(7.6517, 5.8660, 29.5772)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E96 #96721A
analogous
#1A7C96 #1A3E96 #341A96
triadic
#1A3E96 #961A3E #3E961A
tetradic
#1A3E96 #961A7C #96721A #1A9634
square
#1A3E96 #961A7C #96721A #1A9634
split-complementary
#1A3E96 #96341A #7C961A
monochromatic
#08132E #112862 #1A3E96 #2354CA #4B76E0

Accessibility & contrast

On white

9.66
#1A3E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1A3E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E96
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E96#FFFFFF#000000##FFFFFF
##1A3E961.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3e96;
/* rgb */ color: rgb(26, 62, 150);
/* oklch */ color: oklch(39.6% 0.151 263.9);
Tailwind
colors: {
  custom: {
    50: '#6d72b6',
    500: '#1a3e96',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e96;
$custom-light: #6d72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e96",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 222.581,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39639,
    "c": 0.15058,
    "h": 263.9
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#1A3E96
secondary
#C29F4A
accent
#B93BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3E96

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

Preview Lab → · Contrast checker → · Palette generator →

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