#1A3371#1A3371

#1A3371 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.112 H 264.6°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#1A3371
RGBrgb(26, 51, 113)
HSLhsl(223, 63%, 27%)
HSVhsv(223, 77%, 44%)
CMYKcmyk(77%, 54.9%, 0%, 55.7%)
CIE-LABlab(22.93, 14.28, -38.66)
CIE-LCHlch(22.93, 41.21, 290.28°)
OKLaboklab(34.07% -0.0105 -0.1112)
OKLCHoklch(34.07% 0.112 264.6)
XYZxyz(4.5894, 3.7790, 16.1071)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3371 #71581A
analogous
#1A5E71 #1A3371 #2D1A71
triadic
#1A3371 #711A33 #33711A
tetradic
#1A3371 #711A5E #71581A #1A712D
square
#1A3371 #711A5E #71581A #1A712D
split-complementary
#1A3371 #712D1A #5E711A
monochromatic
#060B19 #0F1D3F #1A3371 #2549A3 #3562D0

Accessibility & contrast

On white

11.96
#1A3371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A3371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3371
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3371#FFFFFF#000000##FFFFFF
##1A33711.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093B73
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a3371;
/* rgb */ color: rgb(26, 51, 113);
/* oklch */ color: oklch(34.1% 0.112 264.6);
Tailwind
colors: {
  custom: {
    50: '#646a9a',
    500: '#1a3371',
    950: '#000000',
  },
}
SCSS
$custom: #1a3371;
$custom-light: #646a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3371",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 222.759,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34065,
    "c": 0.11175,
    "h": 264.6
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#1A3371
secondary
#A68941
accent
#B742E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A3371

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

Preview Lab → · Contrast checker → · Palette generator →

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