#1A3174#1A3174

#1A3174 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.119 H 265.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#1A3174
RGBrgb(26, 49, 116)
HSLhsl(225, 63%, 28%)
HSVhsv(225, 78%, 45%)
CMYKcmyk(77.6%, 57.8%, 0%, 54.5%)
CIE-LABlab(22.57, 16.94, -41.15)
CIE-LCHlch(22.57, 44.51, 292.38°)
OKLaboklab(33.87% -0.0085 -0.1186)
OKLCHoklch(33.87% 0.119 265.9)
XYZxyz(4.6756, 3.6767, 16.9829)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3174 #745D1A
analogous
#1A5E74 #1A3174 #301A74
triadic
#1A3174 #741A31 #31741A
tetradic
#1A3174 #741A5E #745D1A #1A7430
square
#1A3174 #741A5E #745D1A #1A7430
split-complementary
#1A3174 #74301A #5E741A
monochromatic
#060B19 #0F1C42 #1A3174 #2546A6 #365ED2

Accessibility & contrast

On white

12.10
#1A3174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A3174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3174
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3174#FFFFFF#000000##FFFFFF
##1A31741.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a3174;
/* rgb */ color: rgb(26, 49, 116);
/* oklch */ color: oklch(33.9% 0.119 265.9);
Tailwind
colors: {
  custom: {
    50: '#65689d',
    500: '#1a3174',
    950: '#000000',
  },
}
SCSS
$custom: #1a3174;
$custom-light: #65689d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3174",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 224.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33872,
    "c": 0.11893,
    "h": 265.9
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#1A3174
secondary
#A98E41
accent
#BC41E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A3174

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

Preview Lab → · Contrast checker → · Palette generator →

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