#1A2249#1A2249

#1A2249 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.073 H 271.9°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#1A2249
RGBrgb(26, 34, 73)
HSLhsl(230, 47%, 19%)
HSVhsv(230, 64%, 29%)
CMYKcmyk(64.4%, 53.4%, 0%, 71.4%)
CIE-LABlab(14.65, 10.39, -25.49)
CIE-LCHlch(14.65, 27.53, 292.18°)
OKLaboklab(26.81% 0.0025 -0.0728)
OKLCHoklch(26.81% 0.073 271.9)
XYZxyz(2.2002, 1.8445, 6.5421)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2249 #49411A
analogous
#1A3A49 #1A2249 #2A1A49
triadic
#1A2249 #491A22 #22491A
tetradic
#1A2249 #491A3A #49411A #1A492A
square
#1A2249 #491A3A #49411A #1A492A
split-complementary
#1A2249 #492A1A #3A491A
monochromatic
#080B17 #0A0D1C #1A2249 #2A3776 #3A4CA3

Accessibility & contrast

On white

15.34
#1A2249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1A2249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2249
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2249#FFFFFF#000000##FFFFFF
##1A22491.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F274A
Deuteranopia (green-blind)
#082348
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a2249;
/* rgb */ color: rgb(26, 34, 73);
/* oklch */ color: oklch(26.8% 0.073 271.9);
Tailwind
colors: {
  custom: {
    50: '#5b5c7c',
    500: '#1a2249',
    950: '#000000',
  },
}
SCSS
$custom: #1a2249;
$custom-light: #5b5c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2249",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 229.787,
    "s": 47.475,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2681,
    "c": 0.07282,
    "h": 271.9
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

primary
#1A2249
secondary
#7F7440
accent
#C051D7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #1A2249

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

Preview Lab → · Contrast checker → · Palette generator →

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