#1A1E7A#1A1E7A

#1A1E7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.151 H 271.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1A1E7A
RGBrgb(26, 30, 122)
HSLhsl(238, 65%, 29%)
HSVhsv(238, 79%, 48%)
CMYKcmyk(78.7%, 75.4%, 0%, 52.2%)
CIE-LABlab(18.16, 32.33, -52.22)
CIE-LCHlch(18.16, 61.42, 301.77°)
OKLaboklab(30.8% 0.0039 -0.1512)
OKLCHoklch(30.8% 0.151 271.5)
XYZxyz(4.4019, 2.5528, 18.6693)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E7A #7A761A
analogous
#1A4E7A #1A1E7A #461A7A
triadic
#1A1E7A #7A1A1E #1E7A1A
tetradic
#1A1E7A #7A1A4E #7A761A #1A7A46
square
#1A1E7A #7A1A4E #7A761A #1A7A46
split-complementary
#1A1E7A #7A461A #4E7A1A
monochromatic
#050619 #0F1248 #1A1E7A #252AAC #3940D5

Accessibility & contrast

On white

13.90
#1A1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1E7A
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E7A#FFFFFF#000000##FFFFFF
##1A1E7A1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a1e7a;
/* rgb */ color: rgb(26, 30, 122);
/* oklch */ color: oklch(30.8% 0.151 271.5);
Tailwind
colors: {
  custom: {
    50: '#685ba1',
    500: '#1a1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e7a;
$custom-light: #685ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e7a",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 237.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.308,
    "c": 0.15122,
    "h": 271.5
  },
  "luminance": 0.02553
}

Semantic roles & 50–950 ramp

primary
#1A1E7A
secondary
#AEAA41
accent
#E140E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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