#1A399E#1A399E

#1A399E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.168 H 265.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#1A399E
RGBrgb(26, 57, 158)
HSLhsl(226, 72%, 36%)
HSVhsv(226, 84%, 62%)
CMYKcmyk(83.5%, 63.9%, 0%, 38%)
CIE-LABlab(28.42, 28.21, -57.76)
CIE-LCHlch(28.42, 64.28, 296.03°)
OKLaboklab(39.36% -0.0128 -0.1672)
OKLCHoklch(39.36% 0.168 265.6)
XYZxyz(8.0585, 5.6135, 32.9999)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A399E #9E7F1A
analogous
#1A7B9E #1A399E #3D1A9E
triadic
#1A399E #9E1A39 #399E1A
tetradic
#1A399E #9E1A7B #9E7F1A #1A9E3D
square
#1A399E #9E1A7B #9E7F1A #1A9E3D
split-complementary
#1A399E #9E3D1A #7B9E1A
monochromatic
#091335 #112669 #1A399E #234CD3 #5072E2

Accessibility & contrast

On white

9.89
#1A399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1A399E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A399E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A399E#FFFFFF#000000##FFFFFF
##1A399E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a399e;
/* rgb */ color: rgb(26, 57, 158);
/* oklch */ color: oklch(39.4% 0.168 265.6);
Tailwind
colors: {
  custom: {
    50: '#706fbc',
    500: '#1a399e',
    950: '#000000',
  },
}
SCSS
$custom: #1a399e;
$custom-light: #706fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a399e",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 225.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39364,
    "c": 0.16772,
    "h": 265.6
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#1A399E
secondary
#C5A94F
accent
#C439EE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A399E

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

Preview Lab → · Contrast checker → · Palette generator →

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