#1A3788#1A3788

#1A3788 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.140 H 265.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#1A3788
RGBrgb(26, 55, 136)
HSLhsl(224, 68%, 32%)
HSVhsv(224, 81%, 53%)
CMYKcmyk(80.9%, 59.6%, 0%, 46.7%)
CIE-LABlab(25.95, 20.84, -48.27)
CIE-LCHlch(25.95, 52.58, 293.35°)
OKLaboklab(36.93% -0.0119 -0.1394)
OKLCHoklch(36.93% 0.14 265.1)
XYZxyz(6.2346, 4.7288, 23.8720)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3788 #886B1A
analogous
#1A6E88 #1A3788 #341A88
triadic
#1A3788 #881A37 #37881A
tetradic
#1A3788 #881A6E #886B1A #1A8834
square
#1A3788 #881A6E #886B1A #1A8834
split-complementary
#1A3788 #88341A #6E881A
monochromatic
#060D21 #102255 #1A3788 #244CBB #426ADB

Accessibility & contrast

On white

10.79
#1A3788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1A3788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3788
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3788#FFFFFF#000000##FFFFFF
##1A37881.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a3788;
/* rgb */ color: rgb(26, 55, 136);
/* oklch */ color: oklch(36.9% 0.140 265.1);
Tailwind
colors: {
  custom: {
    50: '#6a6dab',
    500: '#1a3788',
    950: '#000000',
  },
}
SCSS
$custom: #1a3788;
$custom-light: #6a6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3788",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 224.182,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36929,
    "c": 0.13995,
    "h": 265.1
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#1A3788
secondary
#BB9B43
accent
#BD3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3788

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

Preview Lab → · Contrast checker → · Palette generator →

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