#1A288E#1A288E

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

Color values

HEX#1A288E
RGBrgb(26, 40, 142)
HSLhsl(233, 69%, 33%)
HSVhsv(233, 82%, 56%)
CMYKcmyk(81.7%, 71.8%, 0%, 44.3%)
CIE-LABlab(22.62, 33.36, -57.46)
CIE-LCHlch(22.62, 66.44, 300.13°)
OKLaboklab(34.65% -0.0035 -0.1665)
OKLCHoklch(34.65% 0.167 268.8)
XYZxyz(6.0656, 3.6895, 25.9784)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A288E #8E801A
analogous
#1A628E #1A288E #461A8E
triadic
#1A288E #8E1A28 #288E1A
tetradic
#1A288E #8E1A62 #8E801A #1A8E46
square
#1A288E #8E1A62 #8E801A #1A8E46
split-complementary
#1A288E #8E461A #628E1A
monochromatic
#070B27 #11195A #1A288E #2337C2 #4558DD

Accessibility & contrast

On white

12.08
#1A288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A288E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A288E#FFFFFF#000000##FFFFFF
##1A288E1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a288e;
/* rgb */ color: rgb(26, 40, 142);
/* oklch */ color: oklch(34.6% 0.167 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d62b0',
    500: '#1a288e',
    950: '#000000',
  },
}
SCSS
$custom: #1a288e;
$custom-light: #6d62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a288e",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 232.759,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34648,
    "c": 0.1665,
    "h": 268.8
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#1A288E
secondary
#BEB045
accent
#D73CEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A288E

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

Preview Lab → · Contrast checker → · Palette generator →

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