#1A2D49#1A2D49

#1A2D49 is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.6% C 0.057 H 258.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#1A2D49
RGBrgb(26, 45, 73)
HSLhsl(216, 47%, 19%)
HSVhsv(216, 64%, 29%)
CMYKcmyk(64.4%, 38.4%, 0%, 71.4%)
CIE-LABlab(18.26, 2.32, -19.74)
CIE-LCHlch(18.26, 19.88, 276.69°)
OKLaboklab(29.59% -0.0119 -0.0558)
OKLCHoklch(29.59% 0.057 258)
XYZxyz(2.5666, 2.5772, 6.6642)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D49 #49361A
analogous
#1A4549 #1A2D49 #1F1A49
triadic
#1A2D49 #491A2D #2D491A
tetradic
#1A2D49 #491A45 #49361A #1A491F
square
#1A2D49 #491A45 #49361A #1A491F
split-complementary
#1A2D49 #491F1A #45491A
monochromatic
#080E17 #0A111C #1A2D49 #2A4976 #3A65A3

Accessibility & contrast

On white

13.86
#1A2D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A2D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D49
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D49#FFFFFF#000000##FFFFFF
##1A2D491.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4A
Deuteranopia (green-blind)
#1B2B48
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2d49;
/* rgb */ color: rgb(26, 45, 73);
/* oklch */ color: oklch(29.6% 0.057 258.0);
Tailwind
colors: {
  custom: {
    50: '#5b657c',
    500: '#1a2d49',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d49;
$custom-light: #5b657c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d49",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 73
  },
  "hsl": {
    "h": 215.745,
    "s": 47.475,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29594,
    "c": 0.05707,
    "h": 258
  },
  "luminance": 0.02577
}

Semantic roles & 50–950 ramp

primary
#1A2D49
secondary
#7F6540
accent
#A151D7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #1A2D49

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

Preview Lab → · Contrast checker → · Palette generator →

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