#1A2D8F#1A2D8F

#1A2D8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.162 H 267.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#1A2D8F
RGBrgb(26, 45, 143)
HSLhsl(230, 69%, 33%)
HSVhsv(230, 82%, 56%)
CMYKcmyk(81.8%, 68.5%, 0%, 43.9%)
CIE-LABlab(23.93, 30.46, -55.92)
CIE-LCHlch(23.93, 63.68, 298.57°)
OKLaboklab(35.63% -0.006 -0.162)
OKLCHoklch(35.63% 0.162 267.9)
XYZxyz(6.3206, 4.0788, 26.4354)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D8F #8F7C1A
analogous
#1A688F #1A2D8F #411A8F
triadic
#1A2D8F #8F1A2D #2D8F1A
tetradic
#1A2D8F #8F1A68 #8F7C1A #1A8F41
square
#1A2D8F #8F1A68 #8F7C1A #1A8F41
split-complementary
#1A2D8F #8F411A #688F1A
monochromatic
#070C27 #111D5B #1A2D8F #233DC3 #465FDD

Accessibility & contrast

On white

11.56
#1A2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1A2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D8F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D8F#FFFFFF#000000##FFFFFF
##1A2D8F1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a2d8f;
/* rgb */ color: rgb(26, 45, 143);
/* oklch */ color: oklch(35.6% 0.162 267.9);
Tailwind
colors: {
  custom: {
    50: '#6d66b1',
    500: '#1a2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d8f;
$custom-light: #6d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d8f",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 230.256,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35632,
    "c": 0.16207,
    "h": 267.9
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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