#1A3E99#1A3E99

#1A3E99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.155 H 264.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#1A3E99
RGBrgb(26, 62, 153)
HSLhsl(223, 71%, 35%)
HSVhsv(223, 83%, 60%)
CMYKcmyk(83%, 59.5%, 0%, 40%)
CIE-LABlab(29.32, 22.82, -53.24)
CIE-LCHlch(29.32, 57.93, 293.20°)
OKLaboklab(39.9% -0.0158 -0.1539)
OKLCHoklch(39.9% 0.155 264.1)
XYZxyz(7.8963, 5.9638, 30.8658)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E99 #99751A
analogous
#1A7E99 #1A3E99 #351A99
triadic
#1A3E99 #991A3E #3E991A
tetradic
#1A3E99 #991A7E #99751A #1A9935
square
#1A3E99 #991A7E #99751A #1A9935
split-complementary
#1A3E99 #99351A #7E991A
monochromatic
#081430 #112965 #1A3E99 #2353CD #4D77E1

Accessibility & contrast

On white

9.58
#1A3E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1A3E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E99
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E99#FFFFFF#000000##FFFFFF
##1A3E991.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3e99;
/* rgb */ color: rgb(26, 62, 153);
/* oklch */ color: oklch(39.9% 0.155 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e72b8',
    500: '#1a3e99',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e99;
$custom-light: #6e72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e99",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 222.992,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.15472,
    "h": 264.1
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#1A3E99
secondary
#C3A14C
accent
#BB3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3E99

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

Preview Lab → · Contrast checker → · Palette generator →

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