#1A3894#1A3894

#1A3894 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.155 H 265.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1A3894
RGBrgb(26, 56, 148)
HSLhsl(225, 70%, 34%)
HSVhsv(225, 82%, 58%)
CMYKcmyk(82.4%, 62.2%, 0%, 42%)
CIE-LABlab(27.26, 24.95, -53.56)
CIE-LCHlch(27.26, 59.08, 294.98°)
OKLaboklab(38.23% -0.0122 -0.1549)
OKLCHoklch(38.23% 0.155 265.5)
XYZxyz(7.1836, 5.1852, 28.6335)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3894 #94761A
analogous
#1A7594 #1A3894 #391A94
triadic
#1A3894 #941A38 #38941A
tetradic
#1A3894 #941A75 #94761A #1A9439
square
#1A3894 #941A75 #94761A #1A9439
split-complementary
#1A3894 #94391A #75941A
monochromatic
#08112C #112460 #1A3894 #234CC8 #496EDF

Accessibility & contrast

On white

10.31
#1A3894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1A3894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3894
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3894#FFFFFF#000000##FFFFFF
##1A38941.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3894;
/* rgb */ color: rgb(26, 56, 148);
/* oklch */ color: oklch(38.2% 0.155 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d6eb4',
    500: '#1a3894',
    950: '#000000',
  },
}
SCSS
$custom: #1a3894;
$custom-light: #6d6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3894",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 225.246,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38228,
    "c": 0.1554,
    "h": 265.5
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#1A3894
secondary
#C1A349
accent
#C13BED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3894

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

Preview Lab → · Contrast checker → · Palette generator →

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