#1A1E7B#1A1E7B

#1A1E7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.153 H 271.4°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#1A1E7B
RGBrgb(26, 30, 123)
HSLhsl(238, 65%, 29%)
HSVhsv(238, 79%, 48%)
CMYKcmyk(78.9%, 75.6%, 0%, 51.8%)
CIE-LABlab(18.27, 32.70, -52.68)
CIE-LCHlch(18.27, 62.00, 301.83°)
OKLaboklab(30.91% 0.0037 -0.1525)
OKLCHoklch(30.91% 0.153 271.4)
XYZxyz(4.4642, 2.5777, 18.9973)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E7B #7B771A
analogous
#1A4F7B #1A1E7B #471A7B
triadic
#1A1E7B #7B1A1E #1E7B1A
tetradic
#1A1E7B #7B1A4F #7B771A #1A7B47
square
#1A1E7B #7B1A4F #7B771A #1A7B47
split-complementary
#1A1E7B #7B471A #4F7B1A
monochromatic
#050619 #0F1248 #1A1E7B #252AAE #3A40D5

Accessibility & contrast

On white

13.86
#1A1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E7B
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E7B#FFFFFF#000000##FFFFFF
##1A1E7B1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a1e7b;
/* rgb */ color: rgb(26, 30, 123);
/* oklch */ color: oklch(30.9% 0.153 271.4);
Tailwind
colors: {
  custom: {
    50: '#695ba2',
    500: '#1a1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e7b;
$custom-light: #695ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e7b",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 237.526,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30912,
    "c": 0.15255,
    "h": 271.4
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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