#1A3D89#1A3D89

#1A3D89 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.134 H 263.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#1A3D89
RGBrgb(26, 61, 137)
HSLhsl(221, 68%, 32%)
HSVhsv(221, 81%, 54%)
CMYKcmyk(81%, 55.5%, 0%, 46.3%)
CIE-LABlab(27.74, 17.05, -45.98)
CIE-LCHlch(27.74, 49.04, 290.35°)
OKLaboklab(38.31% -0.0162 -0.1326)
OKLCHoklch(38.31% 0.134 263)
XYZxyz(6.6085, 5.3625, 24.3488)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D89 #89661A
analogous
#1A7589 #1A3D89 #2F1A89
triadic
#1A3D89 #891A3D #3D891A
tetradic
#1A3D89 #891A75 #89661A #1A892F
square
#1A3D89 #891A75 #89661A #1A892F
split-complementary
#1A3D89 #892F1A #75891A
monochromatic
#060F22 #102656 #1A3D89 #2454BC #4272DB

Accessibility & contrast

On white

10.13
#1A3D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1A3D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D89
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D89#FFFFFF#000000##FFFFFF
##1A3D891.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a3d89;
/* rgb */ color: rgb(26, 61, 137);
/* oklch */ color: oklch(38.3% 0.134 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a71ac',
    500: '#1a3d89',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d89;
$custom-light: #6a71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d89",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 221.081,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38308,
    "c": 0.13357,
    "h": 263
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#1A3D89
secondary
#BC9643
accent
#B43DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3D89

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

Preview Lab → · Contrast checker → · Palette generator →

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