#1A3259#1A3259

#1A3259 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.076 H 259.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#1A3259
RGBrgb(26, 50, 89)
HSLhsl(217, 55%, 23%)
HSVhsv(217, 71%, 35%)
CMYKcmyk(70.8%, 43.8%, 0%, 65.1%)
CIE-LABlab(20.91, 5.15, -26.27)
CIE-LCHlch(20.91, 26.77, 281.08°)
OKLaboklab(31.97% -0.0137 -0.0748)
OKLCHoklch(31.97% 0.076 259.7)
XYZxyz(3.3691, 3.2218, 9.8936)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3259 #59411A
analogous
#1A5159 #1A3259 #211A59
triadic
#1A3259 #591A32 #32591A
tetradic
#1A3259 #591A51 #59411A #1A5921
square
#1A3259 #591A51 #59411A #1A5921
split-complementary
#1A3259 #59211A #51591A
monochromatic
#070D18 #0C172A #1A3259 #284D88 #3667B8

Accessibility & contrast

On white

12.77
#1A3259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A3259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3259
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3259#FFFFFF#000000##FFFFFF
##1A32591.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20355B
Deuteranopia (green-blind)
#173058
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a3259;
/* rgb */ color: rgb(26, 50, 89);
/* oklch */ color: oklch(32.0% 0.076 259.7);
Tailwind
colors: {
  custom: {
    50: '#5e6988',
    500: '#1a3259',
    950: '#000000',
  },
}
SCSS
$custom: #1a3259;
$custom-light: #5e6988;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3259",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 89
  },
  "hsl": {
    "h": 217.143,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31973,
    "c": 0.07609,
    "h": 259.7
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#1A3259
secondary
#8F7140
accent
#A64ADE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1A3259

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

Preview Lab → · Contrast checker → · Palette generator →

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