#1A3D9B#1A3D9B

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

Color values

HEX#1A3D9B
RGBrgb(26, 61, 155)
HSLhsl(224, 71%, 35%)
HSVhsv(224, 83%, 61%)
CMYKcmyk(83.2%, 60.6%, 0%, 39.2%)
CIE-LABlab(29.22, 24.31, -54.63)
CIE-LCHlch(29.22, 59.79, 293.98°)
OKLaboklab(39.88% -0.0151 -0.158)
OKLCHoklch(39.88% 0.159 264.5)
XYZxyz(8.0090, 5.9227, 31.7251)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D9B #9B781A
analogous
#1A7D9B #1A3D9B #371A9B
triadic
#1A3D9B #9B1A3D #3D9B1A
tetradic
#1A3D9B #9B1A7D #9B781A #1A9B37
square
#1A3D9B #9B1A7D #9B781A #1A9B37
split-complementary
#1A3D9B #9B371A #7D9B1A
monochromatic
#081432 #112867 #1A3D9B #2352CF #4E76E1

Accessibility & contrast

On white

9.61
#1A3D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3D9B
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D9B#FFFFFF#000000##FFFFFF
##1A3D9B1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3d9b;
/* rgb */ color: rgb(26, 61, 155);
/* oklch */ color: oklch(39.9% 0.159 264.5);
Tailwind
colors: {
  custom: {
    50: '#6e72b9',
    500: '#1a3d9b',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d9b;
$custom-light: #6e72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d9b",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 223.721,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39878,
    "c": 0.15872,
    "h": 264.5
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#1A3D9B
secondary
#C4A34D
accent
#BD3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A3D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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