#1A287A#1A287A

#1A287A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.139 H 269.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#1A287A
RGBrgb(26, 40, 122)
HSLhsl(231, 65%, 29%)
HSVhsv(231, 79%, 48%)
CMYKcmyk(78.7%, 67.2%, 0%, 52.2%)
CIE-LABlab(20.60, 25.70, -48.20)
CIE-LCHlch(20.60, 54.62, 298.07°)
OKLaboklab(32.57% -0.0018 -0.1394)
OKLCHoklch(32.57% 0.139 269.3)
XYZxyz(4.6964, 3.1418, 18.7675)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A287A #7A6C1A
analogous
#1A587A #1A287A #3C1A7A
triadic
#1A287A #7A1A28 #287A1A
tetradic
#1A287A #7A1A58 #7A6C1A #1A7A3C
square
#1A287A #7A1A58 #7A6C1A #1A7A3C
split-complementary
#1A287A #7A3C1A #587A1A
monochromatic
#050819 #0F1748 #1A287A #2539AC #3950D5

Accessibility & contrast

On white

12.90
#1A287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A287A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A287A#FFFFFF#000000##FFFFFF
##1A287A1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a287a;
/* rgb */ color: rgb(26, 40, 122);
/* oklch */ color: oklch(32.6% 0.139 269.3);
Tailwind
colors: {
  custom: {
    50: '#6762a1',
    500: '#1a287a',
    950: '#000000',
  },
}
SCSS
$custom: #1a287a;
$custom-light: #6762a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a287a",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 231.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32572,
    "c": 0.13941,
    "h": 269.3
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#1A287A
secondary
#AE9E41
accent
#CF40E8
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A287A

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

Preview Lab → · Contrast checker → · Palette generator →

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