#1A3988#1A3988

#1A3988 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.137 H 264.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#1A3988
RGBrgb(26, 57, 136)
HSLhsl(223, 68%, 32%)
HSVhsv(223, 81%, 53%)
CMYKcmyk(80.9%, 58.1%, 0%, 46.7%)
CIE-LABlab(26.51, 19.44, -47.35)
CIE-LCHlch(26.51, 51.19, 292.32°)
OKLaboklab(37.35% -0.0134 -0.1367)
OKLCHoklch(37.35% 0.137 264.4)
XYZxyz(6.3315, 4.9227, 23.9043)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3988 #88691A
analogous
#1A7088 #1A3988 #321A88
triadic
#1A3988 #881A39 #39881A
tetradic
#1A3988 #881A70 #88691A #1A8832
square
#1A3988 #881A70 #88691A #1A8832
split-complementary
#1A3988 #88321A #70881A
monochromatic
#060E21 #102355 #1A3988 #244FBB #426DDB

Accessibility & contrast

On white

10.58
#1A3988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1A3988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3988
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3988#FFFFFF#000000##FFFFFF
##1A39881.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3988;
/* rgb */ color: rgb(26, 57, 136);
/* oklch */ color: oklch(37.4% 0.137 264.4);
Tailwind
colors: {
  custom: {
    50: '#6a6eab',
    500: '#1a3988',
    950: '#000000',
  },
}
SCSS
$custom: #1a3988;
$custom-light: #6a6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3988",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 223.091,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37354,
    "c": 0.13735,
    "h": 264.4
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#1A3988
secondary
#BB9943
accent
#BA3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3988

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

Preview Lab → · Contrast checker → · Palette generator →

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