#1A418E#1A418E

#1A418E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.136 H 262.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#1A418E
RGBrgb(26, 65, 142)
HSLhsl(220, 69%, 33%)
HSVhsv(220, 82%, 56%)
CMYKcmyk(81.7%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.29, 16.31, -46.55)
CIE-LCHlch(29.29, 49.33, 289.31°)
OKLaboklab(39.61% -0.0187 -0.1342)
OKLCHoklch(39.61% 0.136 262)
XYZxyz(7.1970, 5.9523, 26.3555)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A418E #8E671A
analogous
#1A7B8E #1A418E #2D1A8E
triadic
#1A418E #8E1A41 #418E1A
tetradic
#1A418E #8E1A7B #8E671A #1A8E2D
square
#1A418E #8E1A7B #8E671A #1A8E2D
split-complementary
#1A418E #8E2D1A #7B8E1A
monochromatic
#071227 #11295A #1A418E #2359C2 #4578DD

Accessibility & contrast

On white

9.59
#1A418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1A418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A418E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A418E#FFFFFF#000000##FFFFFF
##1A418E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064B91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a418e;
/* rgb */ color: rgb(26, 65, 142);
/* oklch */ color: oklch(39.6% 0.136 262.0);
Tailwind
colors: {
  custom: {
    50: '#6b75b0',
    500: '#1a418e',
    950: '#000000',
  },
}
SCSS
$custom: #1a418e;
$custom-light: #6b75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a418e",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 219.828,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39605,
    "c": 0.1355,
    "h": 262
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#1A418E
secondary
#BE9645
accent
#B13CEC
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A418E

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

Preview Lab → · Contrast checker → · Palette generator →

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