#1A3189#1A3189

#1A3189 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.149 H 266.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#1A3189
RGBrgb(26, 49, 137)
HSLhsl(228, 68%, 32%)
HSVhsv(228, 81%, 54%)
CMYKcmyk(81%, 64.2%, 0%, 46.3%)
CIE-LABlab(24.39, 25.41, -51.44)
CIE-LCHlch(24.39, 57.37, 296.29°)
OKLaboklab(35.8% -0.008 -0.1488)
OKLCHoklch(35.8% 0.149 266.9)
XYZxyz(6.0381, 4.2217, 24.1587)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3189 #89721A
analogous
#1A6889 #1A3189 #3B1A89
triadic
#1A3189 #891A31 #31891A
tetradic
#1A3189 #891A68 #89721A #1A893B
square
#1A3189 #891A68 #89721A #1A893B
split-complementary
#1A3189 #893B1A #68891A
monochromatic
#060C22 #101F56 #1A3189 #2443BC #4262DB

Accessibility & contrast

On white

11.39
#1A3189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1A3189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3189
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3189#FFFFFF#000000##FFFFFF
##1A31891.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3189;
/* rgb */ color: rgb(26, 49, 137);
/* oklch */ color: oklch(35.8% 0.149 266.9);
Tailwind
colors: {
  custom: {
    50: '#6b68ac',
    500: '#1a3189',
    950: '#000000',
  },
}
SCSS
$custom: #1a3189;
$custom-light: #6b68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3189",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 227.568,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35796,
    "c": 0.14902,
    "h": 266.9
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#1A3189
secondary
#BCA343
accent
#C73DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1A3189

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

Preview Lab → · Contrast checker → · Palette generator →

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