#1A3893#1A3893

#1A3893 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.154 H 265.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#1A3893
RGBrgb(26, 56, 147)
HSLhsl(225, 70%, 34%)
HSVhsv(225, 82%, 58%)
CMYKcmyk(82.3%, 61.9%, 0%, 42.4%)
CIE-LABlab(27.17, 24.55, -53.08)
CIE-LCHlch(27.17, 58.49, 294.82°)
OKLaboklab(38.14% -0.0123 -0.1535)
OKLCHoklch(38.14% 0.154 265.4)
XYZxyz(7.1048, 5.1537, 28.2184)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3893 #93751A
analogous
#1A7593 #1A3893 #391A93
triadic
#1A3893 #931A38 #38931A
tetradic
#1A3893 #931A75 #93751A #1A9339
square
#1A3893 #931A75 #93751A #1A9339
split-complementary
#1A3893 #93391A #75931A
monochromatic
#08102B #11245F #1A3893 #234CC7 #496EDF

Accessibility & contrast

On white

10.34
#1A3893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1A3893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3893
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3893#FFFFFF#000000##FFFFFF
##1A38931.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3893;
/* rgb */ color: rgb(26, 56, 147);
/* oklch */ color: oklch(38.1% 0.154 265.4);
Tailwind
colors: {
  custom: {
    50: '#6d6eb4',
    500: '#1a3893',
    950: '#000000',
  },
}
SCSS
$custom: #1a3893;
$custom-light: #6d6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3893",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 225.124,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38135,
    "c": 0.15403,
    "h": 265.4
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A3893

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

Preview Lab → · Contrast checker → · Palette generator →

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