#1A345C#1A345C

#1A345C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.078 H 258.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#1A345C
RGBrgb(26, 52, 92)
HSLhsl(216, 56%, 23%)
HSVhsv(216, 72%, 36%)
CMYKcmyk(71.7%, 43.5%, 0%, 63.9%)
CIE-LABlab(21.76, 4.95, -26.91)
CIE-LCHlch(21.76, 27.36, 280.41°)
OKLaboklab(32.69% -0.0152 -0.0767)
OKLCHoklch(32.69% 0.078 258.8)
XYZxyz(3.5851, 3.4479, 10.5997)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A345C #5C421A
analogous
#1A555C #1A345C #211A5C
triadic
#1A345C #5C1A34 #345C1A
tetradic
#1A345C #5C1A55 #5C421A #1A5C21
square
#1A345C #5C1A55 #5C421A #1A5C21
split-complementary
#1A345C #5C211A #555C1A
monochromatic
#070D18 #0D192C #1A345C #274F8C #356ABB

Accessibility & contrast

On white

12.43
#1A345C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A345C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A345C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A345C#FFFFFF#000000##FFFFFF
##1A345C1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375E
Deuteranopia (green-blind)
#18315B
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a345c;
/* rgb */ color: rgb(26, 52, 92);
/* oklch */ color: oklch(32.7% 0.078 258.8);
Tailwind
colors: {
  custom: {
    50: '#5f6b8a',
    500: '#1a345c',
    950: '#000000',
  },
}
SCSS
$custom: #1a345c;
$custom-light: #5f6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a345c",
  "rgb": {
    "r": 26,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 216.364,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32689,
    "c": 0.07818,
    "h": 258.8
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#1A345C
secondary
#927240
accent
#A449DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1A345C

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

Preview Lab → · Contrast checker → · Palette generator →

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