#1A378C#1A378C

#1A378C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.146 H 265.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#1A378C
RGBrgb(26, 55, 140)
HSLhsl(225, 69%, 33%)
HSVhsv(225, 81%, 55%)
CMYKcmyk(81.4%, 60.7%, 0%, 45.1%)
CIE-LABlab(26.29, 22.45, -50.20)
CIE-LCHlch(26.29, 54.99, 294.09°)
OKLaboklab(37.29% -0.0118 -0.1451)
OKLCHoklch(37.29% 0.146 265.4)
XYZxyz(6.5241, 4.8447, 25.3971)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A378C #8C6F1A
analogous
#1A708C #1A378C #361A8C
triadic
#1A378C #8C1A37 #378C1A
tetradic
#1A378C #8C1A70 #8C6F1A #1A8C36
square
#1A378C #8C1A70 #8C6F1A #1A8C36
split-complementary
#1A378C #8C361A #708C1A
monochromatic
#070E25 #102358 #1A378C #244BC0 #446BDC

Accessibility & contrast

On white

10.67
#1A378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1A378C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A378C
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A378C#FFFFFF#000000##FFFFFF
##1A378C1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a378c;
/* rgb */ color: rgb(26, 55, 140);
/* oklch */ color: oklch(37.3% 0.146 265.4);
Tailwind
colors: {
  custom: {
    50: '#6b6dae',
    500: '#1a378c',
    950: '#000000',
  },
}
SCSS
$custom: #1a378c;
$custom-light: #6b6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a378c",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 224.737,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37289,
    "c": 0.14558,
    "h": 265.4
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#1A378C
secondary
#BE9F44
accent
#BF3CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A378C

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

Preview Lab → · Contrast checker → · Palette generator →

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