#1A3184#1A3184

#1A3184 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.142 H 266.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#1A3184
RGBrgb(26, 49, 132)
HSLhsl(227, 67%, 31%)
HSVhsv(227, 80%, 52%)
CMYKcmyk(80.3%, 62.9%, 0%, 48.2%)
CIE-LABlab(23.94, 23.42, -49.05)
CIE-LCHlch(23.94, 54.36, 295.52°)
OKLaboklab(35.32% -0.008 -0.1418)
OKLCHoklch(35.32% 0.142 266.8)
XYZxyz(5.6877, 4.0815, 22.3134)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3184 #846D1A
analogous
#1A6684 #1A3184 #381A84
triadic
#1A3184 #841A31 #31841A
tetradic
#1A3184 #841A66 #846D1A #1A8438
square
#1A3184 #841A66 #846D1A #1A8438
split-complementary
#1A3184 #84381A #66841A
monochromatic
#060B1E #101E51 #1A3184 #2444B7 #3F61D9

Accessibility & contrast

On white

11.56
#1A3184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1A3184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3184
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3184#FFFFFF#000000##FFFFFF
##1A31841.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a3184;
/* rgb */ color: rgb(26, 49, 132);
/* oklch */ color: oklch(35.3% 0.142 266.8);
Tailwind
colors: {
  custom: {
    50: '#6968a9',
    500: '#1a3184',
    950: '#000000',
  },
}
SCSS
$custom: #1a3184;
$custom-light: #6968a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3184",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 226.981,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35322,
    "c": 0.14204,
    "h": 266.8
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#1A3184
secondary
#B89E42
accent
#C53EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A3184

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

Preview Lab → · Contrast checker → · Palette generator →

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