#1A3287#1A3287

#1A3287 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.145 H 266.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#1A3287
RGBrgb(26, 50, 135)
HSLhsl(227, 68%, 32%)
HSVhsv(227, 81%, 53%)
CMYKcmyk(80.7%, 63%, 0%, 47.1%)
CIE-LABlab(24.48, 23.92, -50.05)
CIE-LCHlch(24.48, 55.47, 295.55°)
OKLaboklab(35.81% -0.0086 -0.1447)
OKLCHoklch(35.81% 0.145 266.6)
XYZxyz(5.9382, 4.2494, 23.4242)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3287 #876F1A
analogous
#1A6987 #1A3287 #391A87
triadic
#1A3287 #871A32 #32871A
tetradic
#1A3287 #871A69 #876F1A #1A8739
square
#1A3287 #871A69 #876F1A #1A8739
split-complementary
#1A3287 #87391A #69871A
monochromatic
#060C20 #101F54 #1A3287 #2445BA #4163DA

Accessibility & contrast

On white

11.35
#1A3287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1A3287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3287
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3287#FFFFFF#000000##FFFFFF
##1A32871.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a3287;
/* rgb */ color: rgb(26, 50, 135);
/* oklch */ color: oklch(35.8% 0.145 266.6);
Tailwind
colors: {
  custom: {
    50: '#6a69ab',
    500: '#1a3287',
    950: '#000000',
  },
}
SCSS
$custom: #1a3287;
$custom-light: #6a69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3287",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 226.789,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35806,
    "c": 0.14498,
    "h": 266.6
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#1A3287
secondary
#BAA042
accent
#C43DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1A3287

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

Preview Lab → · Contrast checker → · Palette generator →

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