#1A3474#1A3474

#1A3474 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.115 H 264.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#1A3474
RGBrgb(26, 52, 116)
HSLhsl(223, 63%, 28%)
HSVhsv(223, 78%, 45%)
CMYKcmyk(77.6%, 55.2%, 0%, 54.5%)
CIE-LABlab(23.46, 14.80, -39.72)
CIE-LCHlch(23.46, 42.39, 290.44°)
OKLaboklab(34.54% -0.0111 -0.1143)
OKLCHoklch(34.54% 0.115 264.5)
XYZxyz(4.8053, 3.9360, 17.0261)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3474 #745A1A
analogous
#1A6174 #1A3474 #2D1A74
triadic
#1A3474 #741A34 #34741A
tetradic
#1A3474 #741A61 #745A1A #1A742D
square
#1A3474 #741A61 #745A1A #1A742D
split-complementary
#1A3474 #742D1A #61741A
monochromatic
#060B19 #0F1E42 #1A3474 #254AA6 #3663D2

Accessibility & contrast

On white

11.75
#1A3474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1A3474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3474
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3474#FFFFFF#000000##FFFFFF
##1A34741.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a3474;
/* rgb */ color: rgb(26, 52, 116);
/* oklch */ color: oklch(34.5% 0.115 264.5);
Tailwind
colors: {
  custom: {
    50: '#656b9d',
    500: '#1a3474',
    950: '#000000',
  },
}
SCSS
$custom: #1a3474;
$custom-light: #656b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3474",
  "rgb": {
    "r": 26,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 222.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34542,
    "c": 0.11488,
    "h": 264.5
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#1A3474
secondary
#A98B41
accent
#B741E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A3474

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

Preview Lab → · Contrast checker → · Palette generator →

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