#1A2159#1A2159

#1A2159 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.100 H 272.7°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#1A2159
RGBrgb(26, 33, 89)
HSLhsl(233, 55%, 23%)
HSVhsv(233, 71%, 35%)
CMYKcmyk(70.8%, 62.9%, 0%, 65.1%)
CIE-LABlab(15.64, 17.56, -34.76)
CIE-LCHlch(15.64, 38.95, 296.79°)
OKLaboklab(27.96% 0.0048 -0.1001)
OKLCHoklch(27.96% 0.1 272.7)
XYZxyz(2.7724, 2.0283, 9.6947)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2159 #59521A
analogous
#1A4159 #1A2159 #321A59
triadic
#1A2159 #591A21 #21591A
tetradic
#1A2159 #591A41 #59521A #1A5932
square
#1A2159 #591A41 #59521A #1A5932
split-complementary
#1A2159 #59321A #41591A
monochromatic
#070918 #0C0F2A #1A2159 #283388 #3644B8

Accessibility & contrast

On white

14.94
#1A2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2159
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2159#FFFFFF#000000##FFFFFF
##1A21591.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a2159;
/* rgb */ color: rgb(26, 33, 89);
/* oklch */ color: oklch(28.0% 0.100 272.7);
Tailwind
colors: {
  custom: {
    50: '#5f5c88',
    500: '#1a2159',
    950: '#000000',
  },
}
SCSS
$custom: #1a2159;
$custom-light: #5f5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2159",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 233.333,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27961,
    "c": 0.10018,
    "h": 272.7
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#1A2159
secondary
#8F8640
accent
#CE4ADE
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #1A2159

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

Preview Lab → · Contrast checker → · Palette generator →

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