#1A3A99#1A3A99

#1A3A99 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.160 H 265.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#1A3A99
RGBrgb(26, 58, 153)
HSLhsl(225, 71%, 35%)
HSVhsv(225, 83%, 60%)
CMYKcmyk(83%, 62.1%, 0%, 40%)
CIE-LABlab(28.23, 25.56, -55.02)
CIE-LCHlch(28.23, 60.67, 294.92°)
OKLaboklab(39.09% -0.0134 -0.1592)
OKLCHoklch(39.09% 0.16 265.2)
XYZxyz(7.6868, 5.5447, 30.7959)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A99 #99791A
analogous
#1A7999 #1A3A99 #3A1A99
triadic
#1A3A99 #991A3A #3A991A
tetradic
#1A3A99 #991A79 #99791A #1A993A
square
#1A3A99 #991A79 #99791A #1A993A
split-complementary
#1A3A99 #993A1A #79991A
monochromatic
#081230 #112665 #1A3A99 #234ECD #4D72E1

Accessibility & contrast

On white

9.96
#1A3A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1A3A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A99
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A99#FFFFFF#000000##FFFFFF
##1A3A991.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3a99;
/* rgb */ color: rgb(26, 58, 153);
/* oklch */ color: oklch(39.1% 0.160 265.2);
Tailwind
colors: {
  custom: {
    50: '#6e6fb8',
    500: '#1a3a99',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a99;
$custom-light: #6e6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a99",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 224.882,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39091,
    "c": 0.15974,
    "h": 265.2
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#1A3A99
secondary
#C3A54C
accent
#C03AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1A3A99

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

Preview Lab → · Contrast checker → · Palette generator →

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