#1A418A#1A418A

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

Color values

HEX#1A418A
RGBrgb(26, 65, 138)
HSLhsl(219, 68%, 32%)
HSVhsv(219, 81%, 54%)
CMYKcmyk(81.2%, 52.9%, 0%, 45.9%)
CIE-LABlab(28.99, 14.68, -44.57)
CIE-LCHlch(28.99, 46.93, 288.22°)
OKLaboklab(39.28% -0.0192 -0.1284)
OKLCHoklch(39.28% 0.13 261.5)
XYZxyz(6.9021, 5.8344, 24.8022)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A418A #8A631A
analogous
#1A798A #1A418A #2B1A8A
triadic
#1A418A #8A1A41 #418A1A
tetradic
#1A418A #8A1A79 #8A631A #1A8A2B
square
#1A418A #8A1A79 #8A631A #1A8A2B
split-complementary
#1A418A #8A2B1A #798A1A
monochromatic
#071023 #102957 #1A418A #2459BD #4378DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A418A#FFFFFF#000000##FFFFFF
##1A418A1.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)
#104A8D
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a418a;
/* rgb */ color: rgb(26, 65, 138);
/* oklch */ color: oklch(39.3% 0.130 261.5);
Tailwind
colors: {
  custom: {
    50: '#6a75ad',
    500: '#1a418a',
    950: '#000000',
  },
}
SCSS
$custom: #1a418a;
$custom-light: #6a75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a418a",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 219.107,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.1298,
    "h": 261.5
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#1A418A
secondary
#BD9243
accent
#AE3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A418A

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

Preview Lab → · Contrast checker → · Palette generator →

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