#1A3D9A#1A3D9A

#1A3D9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.157 H 264.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#1A3D9A
RGBrgb(26, 61, 154)
HSLhsl(224, 71%, 35%)
HSVhsv(224, 83%, 60%)
CMYKcmyk(83.1%, 60.4%, 0%, 39.6%)
CIE-LABlab(29.13, 23.91, -54.16)
CIE-LCHlch(29.13, 59.20, 293.82°)
OKLaboklab(39.79% -0.0151 -0.1566)
OKLCHoklch(39.79% 0.157 264.5)
XYZxyz(7.9254, 5.8892, 31.2846)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D9A #9A771A
analogous
#1A7D9A #1A3D9A #371A9A
triadic
#1A3D9A #9A1A3D #3D9A1A
tetradic
#1A3D9A #9A1A7D #9A771A #1A9A37
square
#1A3D9A #9A1A7D #9A771A #1A9A37
split-complementary
#1A3D9A #9A371A #7D9A1A
monochromatic
#081431 #112866 #1A3D9A #2352CE #4D76E1

Accessibility & contrast

On white

9.64
#1A3D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1A3D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D9A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D9A#FFFFFF#000000##FFFFFF
##1A3D9A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3d9a;
/* rgb */ color: rgb(26, 61, 154);
/* oklch */ color: oklch(39.8% 0.157 264.5);
Tailwind
colors: {
  custom: {
    50: '#6e72b9',
    500: '#1a3d9a',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d9a;
$custom-light: #6e72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d9a",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 223.594,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.15735,
    "h": 264.5
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#1A3D9A
secondary
#C3A34D
accent
#BD3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1A3D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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