#1A3372#1A3372

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

Color values

HEX#1A3372
RGBrgb(26, 51, 114)
HSLhsl(223, 63%, 27%)
HSVhsv(223, 77%, 45%)
CMYKcmyk(77.2%, 55.3%, 0%, 55.3%)
CIE-LABlab(23.00, 14.69, -39.17)
CIE-LCHlch(23.00, 41.84, 290.56°)
OKLaboklab(34.15% -0.0104 -0.1128)
OKLCHoklch(34.15% 0.113 264.7)
XYZxyz(4.6460, 3.8017, 16.4053)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3372 #72591A
analogous
#1A5F72 #1A3372 #2D1A72
triadic
#1A3372 #721A33 #33721A
tetradic
#1A3372 #721A5F #72591A #1A722D
square
#1A3372 #721A5F #72591A #1A722D
split-complementary
#1A3372 #722D1A #5F721A
monochromatic
#060B19 #0F1D40 #1A3372 #2549A4 #3562D1

Accessibility & contrast

On white

11.93
#1A3372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3372
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3372#FFFFFF#000000##FFFFFF
##1A33721.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a3372;
/* rgb */ color: rgb(26, 51, 114);
/* oklch */ color: oklch(34.1% 0.113 264.7);
Tailwind
colors: {
  custom: {
    50: '#646a9b',
    500: '#1a3372',
    950: '#000000',
  },
}
SCSS
$custom: #1a3372;
$custom-light: #646a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3372",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 222.955,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34148,
    "c": 0.11324,
    "h": 264.7
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A3372

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

Preview Lab → · Contrast checker → · Palette generator →

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