#1A39A0#1A39A0

#1A39A0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.170 H 265.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#1A39A0
RGBrgb(26, 57, 160)
HSLhsl(226, 72%, 36%)
HSVhsv(226, 84%, 63%)
CMYKcmyk(83.8%, 64.4%, 0%, 37.3%)
CIE-LABlab(28.60, 28.99, -58.68)
CIE-LCHlch(28.60, 65.45, 296.29°)
OKLaboklab(39.56% -0.0128 -0.1699)
OKLCHoklch(39.56% 0.17 265.7)
XYZxyz(8.2321, 5.6829, 33.9139)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A39A0 #A0811A
analogous
#1A7CA0 #1A39A0 #3E1AA0
triadic
#1A39A0 #A01A39 #39A01A
tetradic
#1A39A0 #A01A7C #A0811A #1AA03E
square
#1A39A0 #A01A7C #A0811A #1AA03E
split-complementary
#1A39A0 #A03E1A #7CA01A
monochromatic
#091337 #11266B #1A39A0 #234CD5 #5273E3

Accessibility & contrast

On white

9.83
#1A39A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1A39A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A39A0
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A39A0#FFFFFF#000000##FFFFFF
##1A39A01.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a39a0;
/* rgb */ color: rgb(26, 57, 160);
/* oklch */ color: oklch(39.6% 0.170 265.7);
Tailwind
colors: {
  custom: {
    50: '#706fbd',
    500: '#1a39a0',
    950: '#000000',
  },
}
SCSS
$custom: #1a39a0;
$custom-light: #706fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a39a0",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 160
  },
  "hsl": {
    "h": 226.119,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39555,
    "c": 0.17039,
    "h": 265.7
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#1A39A0
secondary
#C5AA50
accent
#C539EF
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A39A0

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

Preview Lab → · Contrast checker → · Palette generator →

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