#1A418C#1A418C

#1A418C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.133 H 261.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#1A418C
RGBrgb(26, 65, 140)
HSLhsl(219, 69%, 33%)
HSVhsv(219, 81%, 55%)
CMYKcmyk(81.4%, 53.6%, 0%, 45.1%)
CIE-LABlab(29.14, 15.49, -45.57)
CIE-LCHlch(29.14, 48.13, 288.78°)
OKLaboklab(39.44% -0.019 -0.1313)
OKLCHoklch(39.44% 0.133 261.8)
XYZxyz(7.0482, 5.8928, 25.5718)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A418C #8C651A
analogous
#1A7A8C #1A418C #2C1A8C
triadic
#1A418C #8C1A41 #418C1A
tetradic
#1A418C #8C1A7A #8C651A #1A8C2C
square
#1A418C #8C1A7A #8C651A #1A8C2C
split-complementary
#1A418C #8C2C1A #7A8C1A
monochromatic
#071125 #102958 #1A418C #2459C0 #4478DC

Accessibility & contrast

On white

9.64
#1A418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A418C
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A418C#FFFFFF#000000##FFFFFF
##1A418C1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4A8F
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a418c;
/* rgb */ color: rgb(26, 65, 140);
/* oklch */ color: oklch(39.4% 0.133 261.8);
Tailwind
colors: {
  custom: {
    50: '#6a75ae',
    500: '#1a418c',
    950: '#000000',
  },
}
SCSS
$custom: #1a418c;
$custom-light: #6a75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a418c",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 219.474,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39442,
    "c": 0.13265,
    "h": 261.8
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#1A418C
secondary
#BE9444
accent
#B03CEC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A418C

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

Preview Lab → · Contrast checker → · Palette generator →

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