#1A1E8F#1A1E8F

#1A1E8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.178 H 270.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#1A1E8F
RGBrgb(26, 30, 143)
HSLhsl(238, 69%, 33%)
HSVhsv(238, 82%, 56%)
CMYKcmyk(81.8%, 79%, 0%, 43.9%)
CIE-LABlab(20.56, 39.79, -61.49)
CIE-LCHlch(20.56, 73.24, 302.91°)
OKLaboklab(33.21% 0.0002 -0.1781)
OKLCHoklch(33.21% 0.178 270.1)
XYZxyz(5.8465, 3.1307, 26.2774)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E8F #8F8B1A
analogous
#1A588F #1A1E8F #501A8F
triadic
#1A1E8F #8F1A1E #1E8F1A
tetradic
#1A1E8F #8F1A58 #8F8B1A #1A8F50
square
#1A1E8F #8F1A58 #8F8B1A #1A8F50
split-complementary
#1A1E8F #8F501A #588F1A
monochromatic
#070827 #11135B #1A1E8F #2329C3 #464BDD

Accessibility & contrast

On white

12.91
#1A1E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A1E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E8F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E8F#FFFFFF#000000##FFFFFF
##1A1E8F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a1e8f;
/* rgb */ color: rgb(26, 30, 143);
/* oklch */ color: oklch(33.2% 0.178 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e5cb1',
    500: '#1a1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e8f;
$custom-light: #6e5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e8f",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 237.949,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33213,
    "c": 0.17808,
    "h": 270.1
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#1A1E8F
secondary
#BFBB46
accent
#E63CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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