#1A2D8E#1A2D8E

#1A2D8E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.161 H 267.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#1A2D8E
RGBrgb(26, 45, 142)
HSLhsl(230, 69%, 33%)
HSVhsv(230, 82%, 56%)
CMYKcmyk(81.7%, 68.3%, 0%, 44.3%)
CIE-LABlab(23.83, 30.07, -55.47)
CIE-LCHlch(23.83, 63.09, 298.47°)
OKLaboklab(35.53% -0.0059 -0.1606)
OKLCHoklch(35.53% 0.161 267.9)
XYZxyz(6.2452, 4.0487, 26.0383)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D8E #8E7B1A
analogous
#1A678E #1A2D8E #411A8E
triadic
#1A2D8E #8E1A2D #2D8E1A
tetradic
#1A2D8E #8E1A67 #8E7B1A #1A8E41
square
#1A2D8E #8E1A67 #8E7B1A #1A8E41
split-complementary
#1A2D8E #8E411A #678E1A
monochromatic
#070C27 #111D5A #1A2D8E #233DC2 #455EDD

Accessibility & contrast

On white

11.60
#1A2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1A2D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D8E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D8E#FFFFFF#000000##FFFFFF
##1A2D8E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a2d8e;
/* rgb */ color: rgb(26, 45, 142);
/* oklch */ color: oklch(35.5% 0.161 267.9);
Tailwind
colors: {
  custom: {
    50: '#6c66b0',
    500: '#1a2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d8e;
$custom-light: #6c66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d8e",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 230.172,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3553,
    "c": 0.16073,
    "h": 267.9
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#1A2D8E
secondary
#BEAB45
accent
#CF3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1A2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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