#1A2D9E#1A2D9E

#1A2D9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.182 H 267.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1A2D9E
RGBrgb(26, 45, 158)
HSLhsl(231, 72%, 36%)
HSVhsv(231, 84%, 62%)
CMYKcmyk(83.5%, 71.5%, 0%, 38%)
CIE-LABlab(25.45, 36.10, -62.63)
CIE-LCHlch(25.45, 72.29, 299.96°)
OKLaboklab(37.2% -0.0072 -0.1815)
OKLCHoklch(37.2% 0.182 267.7)
XYZxyz(7.5338, 4.5641, 32.8250)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D9E #9E8B1A
analogous
#1A6F9E #1A2D9E #491A9E
triadic
#1A2D9E #9E1A2D #2D9E1A
tetradic
#1A2D9E #9E1A6F #9E8B1A #1A9E49
square
#1A2D9E #9E1A6F #9E8B1A #1A9E49
split-complementary
#1A2D9E #9E491A #6F9E1A
monochromatic
#090F35 #111E69 #1A2D9E #233CD3 #5065E2

Accessibility & contrast

On white

10.98
#1A2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1A2D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D9E
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D9E#FFFFFF#000000##FFFFFF
##1A2D9E1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a2d9e;
/* rgb */ color: rgb(26, 45, 158);
/* oklch */ color: oklch(37.2% 0.182 267.7);
Tailwind
colors: {
  custom: {
    50: '#7166bc',
    500: '#1a2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d9e;
$custom-light: #7166bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d9e",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 231.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37198,
    "c": 0.18165,
    "h": 267.7
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#1A2D9E
secondary
#C5B44F
accent
#D439EE
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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