#1A2873#1A2873

#1A2873 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.129 H 269.3°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#1A2873
RGBrgb(26, 40, 115)
HSLhsl(231, 63%, 28%)
HSVhsv(231, 77%, 45%)
CMYKcmyk(77.4%, 65.2%, 0%, 54.9%)
CIE-LABlab(19.94, 22.94, -44.80)
CIE-LCHlch(19.94, 50.33, 297.11°)
OKLaboklab(31.88% -0.0015 -0.1295)
OKLCHoklch(31.88% 0.129 269.3)
XYZxyz(4.2782, 2.9745, 16.5650)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2873 #73651A
analogous
#1A5473 #1A2873 #391A73
triadic
#1A2873 #731A28 #28731A
tetradic
#1A2873 #731A54 #73651A #1A7339
square
#1A2873 #731A54 #73651A #1A7339
split-complementary
#1A2873 #73391A #54731A
monochromatic
#060919 #0F1741 #1A2873 #2539A5 #364ED2

Accessibility & contrast

On white

13.17
#1A2873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A2873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2873
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2873#FFFFFF#000000##FFFFFF
##1A28731.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2873;
/* rgb */ color: rgb(26, 40, 115);
/* oklch */ color: oklch(31.9% 0.129 269.3);
Tailwind
colors: {
  custom: {
    50: '#65619c',
    500: '#1a2873',
    950: '#000000',
  },
}
SCSS
$custom: #1a2873;
$custom-light: #65619c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2873",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 230.562,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31882,
    "c": 0.12947,
    "h": 269.3
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#1A2873
secondary
#A89841
accent
#CC42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A2873

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

Preview Lab → · Contrast checker → · Palette generator →

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