#1A3374#1A3374

#1A3374 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.116 H 265.0°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#1A3374
RGBrgb(26, 51, 116)
HSLhsl(223, 63%, 28%)
HSVhsv(223, 78%, 45%)
CMYKcmyk(77.6%, 56%, 0%, 54.5%)
CIE-LABlab(23.16, 15.52, -40.20)
CIE-LCHlch(23.16, 43.09, 291.10°)
OKLaboklab(34.32% -0.0102 -0.1158)
OKLCHoklch(34.32% 0.116 265)
XYZxyz(4.7611, 3.8477, 17.0114)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3374 #745B1A
analogous
#1A6074 #1A3374 #2E1A74
triadic
#1A3374 #741A33 #33741A
tetradic
#1A3374 #741A60 #745B1A #1A742E
square
#1A3374 #741A60 #745B1A #1A742E
split-complementary
#1A3374 #742E1A #60741A
monochromatic
#060B19 #0F1D42 #1A3374 #2549A6 #3662D2

Accessibility & contrast

On white

11.87
#1A3374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1A3374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3374
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3374#FFFFFF#000000##FFFFFF
##1A33741.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a3374;
/* rgb */ color: rgb(26, 51, 116);
/* oklch */ color: oklch(34.3% 0.116 265.0);
Tailwind
colors: {
  custom: {
    50: '#656a9d',
    500: '#1a3374',
    950: '#000000',
  },
}
SCSS
$custom: #1a3374;
$custom-light: #656a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3374",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 223.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34317,
    "c": 0.11622,
    "h": 265
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#1A3374
secondary
#A98C41
accent
#B941E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A3374

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

Preview Lab → · Contrast checker → · Palette generator →

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