#1A2139#1A2139

#1A2139 is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.4% C 0.047 H 270.5°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#1A2139
RGBrgb(26, 33, 57)
HSLhsl(226, 37%, 16%)
HSVhsv(226, 54%, 22%)
CMYKcmyk(54.4%, 42.1%, 0%, 77.6%)
CIE-LABlab(13.25, 4.91, -16.55)
CIE-LCHlch(13.25, 17.27, 286.51°)
OKLaboklab(25.39% 0.0004 -0.0466)
OKLCHoklch(25.39% 0.047 270.5)
XYZxyz(1.7081, 1.6026, 4.0894)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2139 #39321A
analogous
#1A3139 #1A2139 #231A39
triadic
#1A2139 #391A21 #21391A
tetradic
#1A2139 #391A31 #39321A #1A3923
square
#1A2139 #391A31 #39321A #1A3923
split-complementary
#1A2139 #39231A #31391A
monochromatic
#0A0C15 #0A0C15 #1A2139 #2D3963 #40528D

Accessibility & contrast

On white

15.90
#1A2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1A2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2139
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2139#FFFFFF#000000##FFFFFF
##1A21391.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18233A
Deuteranopia (green-blind)
#152138
Tritanopia (blue-blind)
#0E262A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a2139;
/* rgb */ color: rgb(26, 33, 57);
/* oklch */ color: oklch(25.4% 0.047 270.5);
Tailwind
colors: {
  custom: {
    50: '#585c6f',
    500: '#1a2139',
    950: '#000000',
  },
}
SCSS
$custom: #1a2139;
$custom-light: #585c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2139",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 226.452,
    "s": 37.349,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25387,
    "c": 0.04662,
    "h": 270.5
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#1A2139
secondary
#6E6441
accent
#B35ACD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #1A2139

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

Preview Lab → · Contrast checker → · Palette generator →

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