#1A3989#1A3989

#1A3989 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.139 H 264.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#1A3989
RGBrgb(26, 57, 137)
HSLhsl(223, 68%, 32%)
HSVhsv(223, 81%, 54%)
CMYKcmyk(81%, 58.4%, 0%, 46.3%)
CIE-LABlab(26.60, 19.84, -47.84)
CIE-LCHlch(26.60, 51.79, 292.53°)
OKLaboklab(37.44% -0.0133 -0.1381)
OKLCHoklch(37.44% 0.139 264.5)
XYZxyz(6.4029, 4.9513, 24.2803)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3989 #896A1A
analogous
#1A7189 #1A3989 #321A89
triadic
#1A3989 #891A39 #39891A
tetradic
#1A3989 #891A71 #896A1A #1A8932
square
#1A3989 #891A71 #896A1A #1A8932
split-complementary
#1A3989 #89321A #71891A
monochromatic
#060E22 #102456 #1A3989 #244EBC #426DDB

Accessibility & contrast

On white

10.55
#1A3989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1A3989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3989
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3989#FFFFFF#000000##FFFFFF
##1A39891.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3989;
/* rgb */ color: rgb(26, 57, 137);
/* oklch */ color: oklch(37.4% 0.139 264.5);
Tailwind
colors: {
  custom: {
    50: '#6a6eac',
    500: '#1a3989',
    950: '#000000',
  },
}
SCSS
$custom: #1a3989;
$custom-light: #6a6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3989",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 223.243,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37441,
    "c": 0.13877,
    "h": 264.5
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#1A3989
secondary
#BC9A43
accent
#BA3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3989

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

Preview Lab → · Contrast checker → · Palette generator →

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