#1A345B#1A345B

#1A345B is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.077 H 258.4°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1A345B
RGBrgb(26, 52, 91)
HSLhsl(216, 56%, 23%)
HSVhsv(216, 71%, 36%)
CMYKcmyk(71.4%, 42.9%, 0%, 64.3%)
CIE-LABlab(21.69, 4.54, -26.35)
CIE-LCHlch(21.69, 26.74, 279.77°)
OKLaboklab(32.62% -0.0155 -0.075)
OKLCHoklch(32.62% 0.077 258.4)
XYZxyz(3.5416, 3.4306, 10.3710)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A345B #5B411A
analogous
#1A545B #1A345B #201A5B
triadic
#1A345B #5B1A34 #345B1A
tetradic
#1A345B #5B1A54 #5B411A #1A5B20
square
#1A345B #5B1A54 #5B411A #1A5B20
split-complementary
#1A345B #5B201A #545B1A
monochromatic
#070E18 #0C192B #1A345B #284F8B #356ABA

Accessibility & contrast

On white

12.45
#1A345B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A345B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A345B#FFFFFF#000000##FFFFFF
##1A345B1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375D
Deuteranopia (green-blind)
#19315A
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a345b;
/* rgb */ color: rgb(26, 52, 91);
/* oklch */ color: oklch(32.6% 0.077 258.4);
Tailwind
colors: {
  custom: {
    50: '#5f6b89',
    500: '#1a345b',
    950: '#000000',
  },
}
SCSS
$custom: #1a345b;
$custom-light: #5f6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#1a345b",
  "rgb": {
    "r": 26,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 216,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32619,
    "c": 0.07662,
    "h": 258.4
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#1A345B
secondary
#917140
accent
#A349DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1A345B

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

Preview Lab → · Contrast checker → · Palette generator →

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