#1A1E8B#1A1E8B

#1A1E8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.173 H 270.3°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#1A1E8B
RGBrgb(26, 30, 139)
HSLhsl(238, 68%, 32%)
HSVhsv(238, 81%, 55%)
CMYKcmyk(81.3%, 78.4%, 0%, 45.5%)
CIE-LABlab(20.09, 38.40, -59.77)
CIE-LCHlch(20.09, 71.04, 302.72°)
OKLaboklab(32.75% 0.0009 -0.1731)
OKLCHoklch(32.75% 0.173 270.3)
XYZxyz(5.5489, 3.0116, 24.7099)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E8B #8B871A
analogous
#1A578B #1A1E8B #4E1A8B
triadic
#1A1E8B #8B1A1E #1E8B1A
tetradic
#1A1E8B #8B1A57 #8B871A #1A8B4E
square
#1A1E8B #8B1A57 #8B871A #1A8B4E
split-complementary
#1A1E8B #8B4E1A #578B1A
monochromatic
#070824 #101357 #1A1E8B #2429BF #4349DC

Accessibility & contrast

On white

13.11
#1A1E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A1E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E8B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E8B#FFFFFF#000000##FFFFFF
##1A1E8B1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a1e8b;
/* rgb */ color: rgb(26, 30, 139);
/* oklch */ color: oklch(32.7% 0.173 270.3);
Tailwind
colors: {
  custom: {
    50: '#6d5bae',
    500: '#1a1e8b',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e8b;
$custom-light: #6d5bae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e8b",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 237.876,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32745,
    "c": 0.1731,
    "h": 270.3
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#1A1E8B
secondary
#BDB944
accent
#E53CEB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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