#1A378D#1A378D

#1A378D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.147 H 265.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#1A378D
RGBrgb(26, 55, 141)
HSLhsl(225, 69%, 33%)
HSVhsv(225, 82%, 55%)
CMYKcmyk(81.6%, 61%, 0%, 44.7%)
CIE-LABlab(26.37, 22.85, -50.68)
CIE-LCHlch(26.37, 55.59, 294.27°)
OKLaboklab(37.38% -0.0118 -0.1465)
OKLCHoklch(37.38% 0.147 265.4)
XYZxyz(6.5982, 4.8743, 25.7872)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A378D #8D701A
analogous
#1A708D #1A378D #371A8D
triadic
#1A378D #8D1A37 #378D1A
tetradic
#1A378D #8D1A70 #8D701A #1A8D37
square
#1A378D #8D1A70 #8D701A #1A8D37
split-complementary
#1A378D #8D371A #708D1A
monochromatic
#070F26 #102359 #1A378D #244BC1 #456BDD

Accessibility & contrast

On white

10.63
#1A378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1A378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A378D
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A378D#FFFFFF#000000##FFFFFF
##1A378D1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a378d;
/* rgb */ color: rgb(26, 55, 141);
/* oklch */ color: oklch(37.4% 0.147 265.4);
Tailwind
colors: {
  custom: {
    50: '#6b6daf',
    500: '#1a378d',
    950: '#000000',
  },
}
SCSS
$custom: #1a378d;
$custom-light: #6b6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1a378d",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 224.87,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3738,
    "c": 0.14698,
    "h": 265.4
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#1A378D
secondary
#BE9F45
accent
#BF3CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1A378D

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

Preview Lab → · Contrast checker → · Palette generator →

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