#1A2D9F#1A2D9F

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

Color values

HEX#1A2D9F
RGBrgb(26, 45, 159)
HSLhsl(231, 72%, 36%)
HSVhsv(231, 84%, 62%)
CMYKcmyk(83.6%, 71.7%, 0%, 37.6%)
CIE-LABlab(25.56, 36.46, -63.07)
CIE-LCHlch(25.56, 72.85, 300.03°)
OKLaboklab(37.31% -0.0073 -0.1828)
OKLCHoklch(37.31% 0.183 267.7)
XYZxyz(7.6202, 4.5987, 33.2802)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D9F #9F8C1A
analogous
#1A709F #1A2D9F #4A1A9F
triadic
#1A2D9F #9F1A2D #2D9F1A
tetradic
#1A2D9F #9F1A70 #9F8C1A #1A9F4A
square
#1A2D9F #9F1A70 #9F8C1A #1A9F4A
split-complementary
#1A2D9F #9F4A1A #709F1A
monochromatic
#090F36 #111E6A #1A2D9F #233CD4 #5166E3

Accessibility & contrast

On white

10.94
#1A2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1A2D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D9F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D9F#FFFFFF#000000##FFFFFF
##1A2D9F1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a2d9f;
/* rgb */ color: rgb(26, 45, 159);
/* oklch */ color: oklch(37.3% 0.183 267.7);
Tailwind
colors: {
  custom: {
    50: '#7166bd',
    500: '#1a2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d9f;
$custom-light: #7166bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d9f",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 231.429,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37305,
    "c": 0.18293,
    "h": 267.7
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#1A2D9F
secondary
#C5B450
accent
#D539EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1A2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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