#1A345F#1A345F

#1A345F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.9% C 0.083 H 259.9°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1A345F
RGBrgb(26, 52, 95)
HSLhsl(217, 57%, 24%)
HSVhsv(217, 73%, 37%)
CMYKcmyk(72.6%, 45.3%, 0%, 62.7%)
CIE-LABlab(21.95, 6.17, -28.57)
CIE-LCHlch(21.95, 29.23, 282.18°)
OKLaboklab(32.9% -0.0145 -0.0815)
OKLCHoklch(32.9% 0.083 259.9)
XYZxyz(3.7188, 3.5014, 11.3041)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A345F #5F451A
analogous
#1A565F #1A345F #221A5F
triadic
#1A345F #5F1A34 #345F1A
tetradic
#1A345F #5F1A56 #5F451A #1A5F22
square
#1A345F #5F1A56 #5F451A #1A5F22
split-complementary
#1A345F #5F221A #565F1A
monochromatic
#070D18 #0D1A2F #1A345F #274E8F #3469BF

Accessibility & contrast

On white

12.35
#1A345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A345F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A345F#FFFFFF#000000##FFFFFF
##1A345F1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#15325E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a345f;
/* rgb */ color: rgb(26, 52, 95);
/* oklch */ color: oklch(32.9% 0.083 259.9);
Tailwind
colors: {
  custom: {
    50: '#606b8d',
    500: '#1a345f',
    950: '#000000',
  },
}
SCSS
$custom: #1a345f;
$custom-light: #606b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a345f",
  "rgb": {
    "r": 26,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 217.391,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32903,
    "c": 0.08283,
    "h": 259.9
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#1A345F
secondary
#957540
accent
#A748E0
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1A345F

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

Preview Lab → · Contrast checker → · Palette generator →

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