#1A288D#1A288D

#1A288D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.165 H 268.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#1A288D
RGBrgb(26, 40, 141)
HSLhsl(233, 69%, 33%)
HSVhsv(233, 82%, 55%)
CMYKcmyk(81.6%, 71.6%, 0%, 44.7%)
CIE-LABlab(22.51, 32.98, -57.01)
CIE-LCHlch(22.51, 65.87, 300.05°)
OKLaboklab(34.54% -0.0034 -0.1652)
OKLCHoklch(34.54% 0.165 268.8)
XYZxyz(5.9909, 3.6596, 25.5848)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A288D #8D7F1A
analogous
#1A618D #1A288D #461A8D
triadic
#1A288D #8D1A28 #288D1A
tetradic
#1A288D #8D1A61 #8D7F1A #1A8D46
square
#1A288D #8D1A61 #8D7F1A #1A8D46
split-complementary
#1A288D #8D461A #618D1A
monochromatic
#070B26 #101959 #1A288D #2437C1 #4557DD

Accessibility & contrast

On white

12.12
#1A288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A288D
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A288D#FFFFFF#000000##FFFFFF
##1A288D1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a288d;
/* rgb */ color: rgb(26, 40, 141);
/* oklch */ color: oklch(34.5% 0.165 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d62af',
    500: '#1a288d',
    950: '#000000',
  },
}
SCSS
$custom: #1a288d;
$custom-light: #6d62af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a288d",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 232.696,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34541,
    "c": 0.16519,
    "h": 268.8
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#1A288D
secondary
#BEAF45
accent
#D63CEC
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A288D

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

Preview Lab → · Contrast checker → · Palette generator →

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