#1A3794#1A3794

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

Color values

HEX#1A3794
RGBrgb(26, 55, 148)
HSLhsl(226, 70%, 34%)
HSVhsv(226, 82%, 58%)
CMYKcmyk(82.4%, 62.8%, 0%, 42%)
CIE-LABlab(26.99, 25.64, -53.99)
CIE-LCHlch(26.99, 59.77, 295.40°)
OKLaboklab(38.03% -0.0116 -0.1562)
OKLCHoklch(38.03% 0.157 265.7)
XYZxyz(7.1356, 5.0893, 28.6175)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3794 #94771A
analogous
#1A7494 #1A3794 #3A1A94
triadic
#1A3794 #941A37 #37941A
tetradic
#1A3794 #941A74 #94771A #1A943A
square
#1A3794 #941A74 #94771A #1A943A
split-complementary
#1A3794 #943A1A #74941A
monochromatic
#08102C #112460 #1A3794 #234AC8 #496DDF

Accessibility & contrast

On white

10.41
#1A3794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1A3794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3794
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3794#FFFFFF#000000##FFFFFF
##1A37941.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3794;
/* rgb */ color: rgb(26, 55, 148);
/* oklch */ color: oklch(38.0% 0.157 265.7);
Tailwind
colors: {
  custom: {
    50: '#6d6db4',
    500: '#1a3794',
    950: '#000000',
  },
}
SCSS
$custom: #1a3794;
$custom-light: #6d6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3794",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 225.738,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38028,
    "c": 0.15665,
    "h": 265.7
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#1A3794
secondary
#C1A449
accent
#C33BED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3794

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

Preview Lab → · Contrast checker → · Palette generator →

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