#1A378B#1A378B

#1A378B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.144 H 265.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#1A378B
RGBrgb(26, 55, 139)
HSLhsl(225, 68%, 32%)
HSVhsv(225, 81%, 55%)
CMYKcmyk(81.3%, 60.4%, 0%, 45.5%)
CIE-LABlab(26.20, 22.05, -49.72)
CIE-LCHlch(26.20, 54.39, 293.91°)
OKLaboklab(37.2% -0.0118 -0.1437)
OKLCHoklch(37.2% 0.144 265.3)
XYZxyz(6.4507, 4.8153, 25.0106)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A378B #8B6E1A
analogous
#1A6F8B #1A378B #361A8B
triadic
#1A378B #8B1A37 #378B1A
tetradic
#1A378B #8B1A6F #8B6E1A #1A8B36
square
#1A378B #8B1A6F #8B6E1A #1A8B36
split-complementary
#1A378B #8B361A #6F8B1A
monochromatic
#070E24 #102357 #1A378B #244BBF #436BDC

Accessibility & contrast

On white

10.70
#1A378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A378B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A378B#FFFFFF#000000##FFFFFF
##1A378B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a378b;
/* rgb */ color: rgb(26, 55, 139);
/* oklch */ color: oklch(37.2% 0.144 265.3);
Tailwind
colors: {
  custom: {
    50: '#6b6dae',
    500: '#1a378b',
    950: '#000000',
  },
}
SCSS
$custom: #1a378b;
$custom-light: #6b6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a378b",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 224.602,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37199,
    "c": 0.14418,
    "h": 265.3
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#1A378B
secondary
#BD9E44
accent
#BE3CEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A378B

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

Preview Lab → · Contrast checker → · Palette generator →

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