#1A2885#1A2885

#1A2885 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.155 H 269.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1A2885
RGBrgb(26, 40, 133)
HSLhsl(232, 67%, 31%)
HSVhsv(232, 80%, 52%)
CMYKcmyk(80.5%, 69.9%, 0%, 47.8%)
CIE-LABlab(21.69, 29.96, -53.37)
CIE-LCHlch(21.69, 61.20, 299.31°)
OKLaboklab(33.7% -0.0026 -0.1545)
OKLCHoklch(33.7% 0.155 269)
XYZxyz(5.4170, 3.4300, 22.5623)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2885 #85771A
analogous
#1A5D85 #1A2885 #411A85
triadic
#1A2885 #851A28 #28851A
tetradic
#1A2885 #851A5D #85771A #1A8541
square
#1A2885 #851A5D #85771A #1A8541
split-complementary
#1A2885 #85411A #5D851A
monochromatic
#06091F #101952 #1A2885 #2437B8 #4054DA

Accessibility & contrast

On white

12.45
#1A2885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A2885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2885
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2885#FFFFFF#000000##FFFFFF
##1A28851.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2885;
/* rgb */ color: rgb(26, 40, 133);
/* oklch */ color: oklch(33.7% 0.155 269.0);
Tailwind
colors: {
  custom: {
    50: '#6a62a9',
    500: '#1a2885',
    950: '#000000',
  },
}
SCSS
$custom: #1a2885;
$custom-light: #6a62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2885",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 232.15,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33697,
    "c": 0.15454,
    "h": 269
  },
  "luminance": 0.03431
}

Semantic roles & 50–950 ramp

primary
#1A2885
secondary
#B8A942
accent
#D43EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2885

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

Preview Lab → · Contrast checker → · Palette generator →

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