#1A319E#1A319E

#1A319E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.177 H 267.1°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#1A319E
RGBrgb(26, 49, 158)
HSLhsl(230, 72%, 36%)
HSVhsv(230, 84%, 62%)
CMYKcmyk(83.5%, 69%, 0%, 38%)
CIE-LABlab(26.40, 33.52, -61.07)
CIE-LCHlch(26.40, 69.67, 298.76°)
OKLaboklab(37.89% -0.0089 -0.177)
OKLCHoklch(37.89% 0.177 267.1)
XYZxyz(7.6937, 4.8839, 32.8783)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A319E #9E871A
analogous
#1A739E #1A319E #451A9E
triadic
#1A319E #9E1A31 #319E1A
tetradic
#1A319E #9E1A73 #9E871A #1A9E45
square
#1A319E #9E1A73 #9E871A #1A9E45
split-complementary
#1A319E #9E451A #739E1A
monochromatic
#091035 #112169 #1A319E #2341D3 #506AE2

Accessibility & contrast

On white

10.62
#1A319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1A319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A319E
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A319E#FFFFFF#000000##FFFFFF
##1A319E1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a319e;
/* rgb */ color: rgb(26, 49, 158);
/* oklch */ color: oklch(37.9% 0.177 267.1);
Tailwind
colors: {
  custom: {
    50: '#7069bc',
    500: '#1a319e',
    950: '#000000',
  },
}
SCSS
$custom: #1a319e;
$custom-light: #7069bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a319e",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 229.545,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37885,
    "c": 0.17718,
    "h": 267.1
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#1A319E
secondary
#C5B04F
accent
#CF39EE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A319E

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

Preview Lab → · Contrast checker → · Palette generator →

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