#1A3A9E#1A3A9E

#1A3A9E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.167 H 265.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#1A3A9E
RGBrgb(26, 58, 158)
HSLhsl(225, 72%, 36%)
HSVhsv(225, 84%, 62%)
CMYKcmyk(83.5%, 63.3%, 0%, 38%)
CIE-LABlab(28.68, 27.53, -57.34)
CIE-LCHlch(28.68, 63.60, 295.65°)
OKLaboklab(39.56% -0.0133 -0.166)
OKLCHoklch(39.56% 0.167 265.4)
XYZxyz(8.1084, 5.7134, 33.0166)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A9E #9E7E1A
analogous
#1A7C9E #1A3A9E #3C1A9E
triadic
#1A3A9E #9E1A3A #3A9E1A
tetradic
#1A3A9E #9E1A7C #9E7E1A #1A9E3C
square
#1A3A9E #9E1A7C #9E7E1A #1A9E3C
split-complementary
#1A3A9E #9E3C1A #7C9E1A
monochromatic
#091335 #112769 #1A3A9E #234DD3 #5074E2

Accessibility & contrast

On white

9.80
#1A3A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1A3A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A9E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A9E#FFFFFF#000000##FFFFFF
##1A3A9E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a3a9e;
/* rgb */ color: rgb(26, 58, 158);
/* oklch */ color: oklch(39.6% 0.167 265.4);
Tailwind
colors: {
  custom: {
    50: '#706fbc',
    500: '#1a3a9e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a9e;
$custom-light: #706fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a9e",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 225.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.16651,
    "h": 265.4
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#1A3A9E
secondary
#C5A84F
accent
#C339EE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A3A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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