#1A418F#1A418F

#1A418F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.137 H 262.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#1A418F
RGBrgb(26, 65, 143)
HSLhsl(220, 69%, 33%)
HSVhsv(220, 82%, 56%)
CMYKcmyk(81.8%, 54.5%, 0%, 43.9%)
CIE-LABlab(29.37, 16.71, -47.04)
CIE-LCHlch(29.37, 49.93, 289.56°)
OKLaboklab(39.69% -0.0186 -0.1356)
OKLCHoklch(39.69% 0.137 262.2)
XYZxyz(7.2724, 5.9825, 26.7527)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A418F #8F681A
analogous
#1A7B8F #1A418F #2D1A8F
triadic
#1A418F #8F1A41 #418F1A
tetradic
#1A418F #8F1A7B #8F681A #1A8F2D
square
#1A418F #8F1A7B #8F681A #1A8F2D
split-complementary
#1A418F #8F2D1A #7B8F1A
monochromatic
#071227 #11295B #1A418F #2359C3 #4678DD

Accessibility & contrast

On white

9.56
#1A418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1A418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A418F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A418F#FFFFFF#000000##FFFFFF
##1A418F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a418f;
/* rgb */ color: rgb(26, 65, 143);
/* oklch */ color: oklch(39.7% 0.137 262.2);
Tailwind
colors: {
  custom: {
    50: '#6b75b0',
    500: '#1a418f',
    950: '#000000',
  },
}
SCSS
$custom: #1a418f;
$custom-light: #6b75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a418f",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 220,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.13691,
    "h": 262.2
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#1A418F
secondary
#BF9746
accent
#B13CEC
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #1A418F

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

Preview Lab → · Contrast checker → · Palette generator →

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