#1A345D#1A345D

#1A345D is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.8% C 0.080 H 259.2°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#1A345D
RGBrgb(26, 52, 93)
HSLhsl(217, 56%, 23%)
HSVhsv(217, 72%, 36%)
CMYKcmyk(72%, 44.1%, 0%, 63.5%)
CIE-LABlab(21.82, 5.35, -27.46)
CIE-LCHlch(21.82, 27.98, 281.03°)
OKLaboklab(32.76% -0.015 -0.0783)
OKLCHoklch(32.76% 0.08 259.2)
XYZxyz(3.6291, 3.4655, 10.8315)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A345D #5D431A
analogous
#1A555D #1A345D #211A5D
triadic
#1A345D #5D1A34 #345D1A
tetradic
#1A345D #5D1A55 #5D431A #1A5D21
square
#1A345D #5D1A55 #5D431A #1A5D21
split-complementary
#1A345D #5D211A #555D1A
monochromatic
#070D18 #0D192D #1A345D #274F8D #3569BD

Accessibility & contrast

On white

12.40
#1A345D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A345D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A345D#FFFFFF#000000##FFFFFF
##1A345D1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21385F
Deuteranopia (green-blind)
#17315C
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a345d;
/* rgb */ color: rgb(26, 52, 93);
/* oklch */ color: oklch(32.8% 0.080 259.2);
Tailwind
colors: {
  custom: {
    50: '#5f6b8b',
    500: '#1a345d',
    950: '#000000',
  },
}
SCSS
$custom: #1a345d;
$custom-light: #5f6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a345d",
  "rgb": {
    "r": 26,
    "g": 52,
    "b": 93
  },
  "hsl": {
    "h": 216.716,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3276,
    "c": 0.07972,
    "h": 259.2
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#1A345D
secondary
#937340
accent
#A548E0
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1A345D

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

Preview Lab → · Contrast checker → · Palette generator →

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