#1A1E79#1A1E79

#1A1E79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.150 H 271.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#1A1E79
RGBrgb(26, 30, 121)
HSLhsl(237, 65%, 29%)
HSVhsv(237, 79%, 47%)
CMYKcmyk(78.5%, 75.2%, 0%, 52.5%)
CIE-LABlab(18.05, 31.97, -51.76)
CIE-LCHlch(18.05, 60.84, 301.70°)
OKLaboklab(30.69% 0.004 -0.1498)
OKLCHoklch(30.69% 0.15 271.5)
XYZxyz(4.3403, 2.5282, 18.3447)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E79 #79751A
analogous
#1A4E79 #1A1E79 #461A79
triadic
#1A1E79 #791A1E #1E791A
tetradic
#1A1E79 #791A4E #79751A #1A7946
square
#1A1E79 #791A4E #79751A #1A7946
split-complementary
#1A1E79 #79461A #4E791A
monochromatic
#050619 #0F1247 #1A1E79 #252AAB #3940D4

Accessibility & contrast

On white

13.95
#1A1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E79
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E79#FFFFFF#000000##FFFFFF
##1A1E791.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1e79;
/* rgb */ color: rgb(26, 30, 121);
/* oklch */ color: oklch(30.7% 0.150 271.5);
Tailwind
colors: {
  custom: {
    50: '#685ba1',
    500: '#1a1e79',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e79;
$custom-light: #685ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e79",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 237.474,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30688,
    "c": 0.14989,
    "h": 271.5
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#1A1E79
secondary
#ADA941
accent
#E140E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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