#1A3D9E#1A3D9E

#1A3D9E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.163 H 264.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1A3D9E
RGBrgb(26, 61, 158)
HSLhsl(224, 72%, 36%)
HSVhsv(224, 84%, 62%)
CMYKcmyk(83.5%, 61.4%, 0%, 38%)
CIE-LABlab(29.47, 25.50, -56.03)
CIE-LCHlch(29.47, 61.56, 294.47°)
OKLaboklab(40.15% -0.015 -0.1621)
OKLCHoklch(40.15% 0.163 264.7)
XYZxyz(8.2641, 6.0247, 33.0685)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D9E #9E7B1A
analogous
#1A7F9E #1A3D9E #391A9E
triadic
#1A3D9E #9E1A3D #3D9E1A
tetradic
#1A3D9E #9E1A7F #9E7B1A #1A9E39
square
#1A3D9E #9E1A7F #9E7B1A #1A9E39
split-complementary
#1A3D9E #9E391A #7F9E1A
monochromatic
#091435 #112969 #1A3D9E #2351D3 #5077E2

Accessibility & contrast

On white

9.52
#1A3D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1A3D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D9E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D9E#FFFFFF#000000##FFFFFF
##1A3D9E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3d9e;
/* rgb */ color: rgb(26, 61, 158);
/* oklch */ color: oklch(40.2% 0.163 264.7);
Tailwind
colors: {
  custom: {
    50: '#6f72bc',
    500: '#1a3d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d9e;
$custom-light: #6f72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d9e",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 224.091,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40151,
    "c": 0.1628,
    "h": 264.7
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#1A3D9E
secondary
#C5A64F
accent
#BE39EE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A3D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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