#1A3793#1A3793

#1A3793 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.155 H 265.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#1A3793
RGBrgb(26, 55, 147)
HSLhsl(226, 70%, 34%)
HSVhsv(226, 82%, 58%)
CMYKcmyk(82.3%, 62.6%, 0%, 42.4%)
CIE-LABlab(26.90, 25.24, -53.53)
CIE-LCHlch(26.90, 59.18, 295.25°)
OKLaboklab(37.93% -0.0117 -0.1548)
OKLCHoklch(37.93% 0.155 265.7)
XYZxyz(7.0568, 5.0577, 28.2024)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3793 #93761A
analogous
#1A7493 #1A3793 #3A1A93
triadic
#1A3793 #931A37 #37931A
tetradic
#1A3793 #931A74 #93761A #1A933A
square
#1A3793 #931A74 #93761A #1A933A
split-complementary
#1A3793 #933A1A #74931A
monochromatic
#08102B #11245F #1A3793 #234AC7 #496DDF

Accessibility & contrast

On white

10.44
#1A3793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1A3793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3793
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3793#FFFFFF#000000##FFFFFF
##1A37931.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3793;
/* rgb */ color: rgb(26, 55, 147);
/* oklch */ color: oklch(37.9% 0.155 265.7);
Tailwind
colors: {
  custom: {
    50: '#6d6db4',
    500: '#1a3793',
    950: '#000000',
  },
}
SCSS
$custom: #1a3793;
$custom-light: #6d6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3793",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 147
  },
  "hsl": {
    "h": 225.62,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37934,
    "c": 0.15529,
    "h": 265.7
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#1A3793
secondary
#C0A448
accent
#C23BED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3793

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

Preview Lab → · Contrast checker → · Palette generator →

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