#1A3289#1A3289

#1A3289 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.148 H 266.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#1A3289
RGBrgb(26, 50, 137)
HSLhsl(227, 68%, 32%)
HSVhsv(227, 81%, 54%)
CMYKcmyk(81%, 63.5%, 0%, 46.3%)
CIE-LABlab(24.66, 24.72, -51.00)
CIE-LCHlch(24.66, 56.67, 295.86°)
OKLaboklab(35.99% -0.0086 -0.1475)
OKLCHoklch(35.99% 0.148 266.7)
XYZxyz(6.0804, 4.3063, 24.1728)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3289 #89711A
analogous
#1A6A89 #1A3289 #3A1A89
triadic
#1A3289 #891A32 #32891A
tetradic
#1A3289 #891A6A #89711A #1A893A
square
#1A3289 #891A6A #89711A #1A893A
split-complementary
#1A3289 #893A1A #6A891A
monochromatic
#060C22 #101F56 #1A3289 #2445BC #4263DB

Accessibility & contrast

On white

11.28
#1A3289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1A3289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3289
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3289#FFFFFF#000000##FFFFFF
##1A32891.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a3289;
/* rgb */ color: rgb(26, 50, 137);
/* oklch */ color: oklch(36.0% 0.148 266.7);
Tailwind
colors: {
  custom: {
    50: '#6b69ac',
    500: '#1a3289',
    950: '#000000',
  },
}
SCSS
$custom: #1a3289;
$custom-light: #6b69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3289",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 227.027,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35995,
    "c": 0.14776,
    "h": 266.7
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#1A3289
secondary
#BCA243
accent
#C53DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1A3289

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

Preview Lab → · Contrast checker → · Palette generator →

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