#1A286D#1A286D

#1A286D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.121 H 269.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#1A286D
RGBrgb(26, 40, 109)
HSLhsl(230, 61%, 26%)
HSVhsv(230, 76%, 43%)
CMYKcmyk(76.1%, 63.3%, 0%, 57.3%)
CIE-LABlab(19.40, 20.54, -41.82)
CIE-LCHlch(19.40, 46.59, 296.16°)
OKLaboklab(31.31% -0.0014 -0.1207)
OKLCHoklch(31.31% 0.121 269.3)
XYZxyz(3.9442, 2.8409, 14.8055)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A286D #6D5F1A
analogous
#1A526D #1A286D #361A6D
triadic
#1A286D #6D1A28 #286D1A
tetradic
#1A286D #6D1A52 #6D5F1A #1A6D36
square
#1A286D #6D1A52 #6D5F1A #1A6D36
split-complementary
#1A286D #6D361A #526D1A
monochromatic
#060919 #0E163C #1A286D #263A9E #334DCE

Accessibility & contrast

On white

13.39
#1A286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A286D
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A286D#FFFFFF#000000##FFFFFF
##1A286D1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a286d;
/* rgb */ color: rgb(26, 40, 109);
/* oklch */ color: oklch(31.3% 0.121 269.3);
Tailwind
colors: {
  custom: {
    50: '#646197',
    500: '#1a286d',
    950: '#000000',
  },
}
SCSS
$custom: #1a286d;
$custom-light: #646197;
$custom-dark: #000000;
JSON
{
  "hex": "#1a286d",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 229.88,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31308,
    "c": 0.12072,
    "h": 269.3
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#1A286D
secondary
#A29241
accent
#C943E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A286D

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

Preview Lab → · Contrast checker → · Palette generator →

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