#1A1E83#1A1E83

#1A1E83 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.163 H 270.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1A1E83
RGBrgb(26, 30, 131)
HSLhsl(238, 67%, 31%)
HSVhsv(238, 80%, 51%)
CMYKcmyk(80.2%, 77.1%, 0%, 48.6%)
CIE-LABlab(19.17, 35.59, -56.27)
CIE-LCHlch(19.17, 66.58, 302.31°)
OKLaboklab(31.82% 0.0024 -0.1629)
OKLCHoklch(31.82% 0.163 270.8)
XYZxyz(4.9856, 2.7863, 21.7434)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1E83 #837F1A
analogous
#1A5283 #1A1E83 #4A1A83
triadic
#1A1E83 #831A1E #1E831A
tetradic
#1A1E83 #831A52 #837F1A #1A834A
square
#1A1E83 #831A52 #837F1A #1A834A
split-complementary
#1A1E83 #834A1A #52831A
monochromatic
#06071D #101250 #1A1E83 #242AB6 #3F44D9

Accessibility & contrast

On white

13.48
#1A1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1E83
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1E83#FFFFFF#000000##FFFFFF
##1A1E831.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a1e83;
/* rgb */ color: rgb(26, 30, 131);
/* oklch */ color: oklch(31.8% 0.163 270.8);
Tailwind
colors: {
  custom: {
    50: '#6b5ba8',
    500: '#1a1e83',
    950: '#000000',
  },
}
SCSS
$custom: #1a1e83;
$custom-light: #6b5ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1e83",
  "rgb": {
    "r": 26,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 237.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3182,
    "c": 0.16296,
    "h": 270.8
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#1A1E83
secondary
#B7B242
accent
#E33EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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