#1A408E#1A408E

#1A408E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.137 H 262.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#1A408E
RGBrgb(26, 64, 142)
HSLhsl(220, 69%, 33%)
HSVhsv(220, 82%, 56%)
CMYKcmyk(81.7%, 54.9%, 0%, 44.3%)
CIE-LABlab(29.00, 17.00, -47.02)
CIE-LCHlch(29.00, 50.00, 289.88°)
OKLaboklab(39.39% -0.018 -0.1356)
OKLCHoklch(39.39% 0.137 262.4)
XYZxyz(7.1401, 5.8386, 26.3366)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A408E #8E681A
analogous
#1A7A8E #1A408E #2E1A8E
triadic
#1A408E #8E1A40 #408E1A
tetradic
#1A408E #8E1A7A #8E681A #1A8E2E
square
#1A408E #8E1A7A #8E681A #1A8E2E
split-complementary
#1A408E #8E2E1A #7A8E1A
monochromatic
#071127 #11295A #1A408E #2357C2 #4577DD

Accessibility & contrast

On white

9.69
#1A408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1A408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A408E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A408E#FFFFFF#000000##FFFFFF
##1A408E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a408e;
/* rgb */ color: rgb(26, 64, 142);
/* oklch */ color: oklch(39.4% 0.137 262.4);
Tailwind
colors: {
  custom: {
    50: '#6b74b0',
    500: '#1a408e',
    950: '#000000',
  },
}
SCSS
$custom: #1a408e;
$custom-light: #6b74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a408e",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 220.345,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39385,
    "c": 0.13679,
    "h": 262.4
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#1A408E
secondary
#BE9745
accent
#B23CEC
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A408E

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

Preview Lab → · Contrast checker → · Palette generator →

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