#1A339E#1A339E

#1A339E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.175 H 266.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#1A339E
RGBrgb(26, 51, 158)
HSLhsl(229, 72%, 36%)
HSVhsv(229, 84%, 62%)
CMYKcmyk(83.5%, 67.7%, 0%, 38%)
CIE-LABlab(26.89, 32.21, -60.27)
CIE-LCHlch(26.89, 68.34, 298.13°)
OKLaboklab(38.24% -0.0098 -0.1746)
OKLCHoklch(38.24% 0.175 266.8)
XYZxyz(7.7792, 5.0549, 32.9068)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A339E #9E851A
analogous
#1A759E #1A339E #431A9E
triadic
#1A339E #9E1A33 #339E1A
tetradic
#1A339E #9E1A75 #9E851A #1A9E43
square
#1A339E #9E1A75 #9E851A #1A9E43
split-complementary
#1A339E #9E431A #759E1A
monochromatic
#091135 #112269 #1A339E #2344D3 #506CE2

Accessibility & contrast

On white

10.44
#1A339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1A339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A339E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A339E#FFFFFF#000000##FFFFFF
##1A339E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a339e;
/* rgb */ color: rgb(26, 51, 158);
/* oklch */ color: oklch(38.2% 0.175 266.8);
Tailwind
colors: {
  custom: {
    50: '#706abc',
    500: '#1a339e',
    950: '#000000',
  },
}
SCSS
$custom: #1a339e;
$custom-light: #706abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a339e",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 228.636,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38242,
    "c": 0.17487,
    "h": 266.8
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#1A339E
secondary
#C5AE4F
accent
#CC39EE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A339E

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

Preview Lab → · Contrast checker → · Palette generator →

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