#1A378A#1A378A

#1A378A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.143 H 265.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#1A378A
RGBrgb(26, 55, 138)
HSLhsl(224, 68%, 32%)
HSVhsv(224, 81%, 54%)
CMYKcmyk(81.2%, 60.1%, 0%, 45.9%)
CIE-LABlab(26.12, 21.64, -49.24)
CIE-LCHlch(26.12, 53.79, 293.73°)
OKLaboklab(37.11% -0.0119 -0.1423)
OKLCHoklch(37.11% 0.143 265.2)
XYZxyz(6.3780, 4.7862, 24.6275)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A378A #8A6D1A
analogous
#1A6F8A #1A378A #351A8A
triadic
#1A378A #8A1A37 #378A1A
tetradic
#1A378A #8A1A6F #8A6D1A #1A8A35
square
#1A378A #8A1A6F #8A6D1A #1A8A35
split-complementary
#1A378A #8A351A #6F8A1A
monochromatic
#070E23 #102257 #1A378A #244CBD #436ADC

Accessibility & contrast

On white

10.73
#1A378A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#1A378A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A378A
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A378A#FFFFFF#000000##FFFFFF
##1A378A1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a378a;
/* rgb */ color: rgb(26, 55, 138);
/* oklch */ color: oklch(37.1% 0.143 265.2);
Tailwind
colors: {
  custom: {
    50: '#6a6dad',
    500: '#1a378a',
    950: '#000000',
  },
}
SCSS
$custom: #1a378a;
$custom-light: #6a6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a378a",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 224.464,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37108,
    "c": 0.14277,
    "h": 265.2
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#1A378A
secondary
#BD9D43
accent
#BE3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A378A

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

Preview Lab → · Contrast checker → · Palette generator →

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