#1A2378#1A2378

#1A2378 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.143 H 270.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1A2378
RGBrgb(26, 35, 120)
HSLhsl(234, 64%, 29%)
HSVhsv(234, 78%, 47%)
CMYKcmyk(78.3%, 70.8%, 0%, 52.9%)
CIE-LABlab(19.13, 28.33, -49.34)
CIE-LCHlch(19.13, 56.89, 299.87°)
OKLaboklab(31.44% 0.0014 -0.1428)
OKLCHoklch(31.44% 0.143 270.6)
XYZxyz(4.4160, 2.7773, 18.0690)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2378 #786F1A
analogous
#1A5278 #1A2378 #401A78
triadic
#1A2378 #781A23 #23781A
tetradic
#1A2378 #781A52 #786F1A #1A7840
square
#1A2378 #781A52 #786F1A #1A7840
split-complementary
#1A2378 #78401A #52781A
monochromatic
#050719 #0F1446 #1A2378 #2532AA #3847D4

Accessibility & contrast

On white

13.50
#1A2378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A2378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2378
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2378#FFFFFF#000000##FFFFFF
##1A23781.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002A76
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2378;
/* rgb */ color: rgb(26, 35, 120);
/* oklch */ color: oklch(31.4% 0.143 270.6);
Tailwind
colors: {
  custom: {
    50: '#675ea0',
    500: '#1a2378',
    950: '#000000',
  },
}
SCSS
$custom: #1a2378;
$custom-light: #675ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2378",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 234.255,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31436,
    "c": 0.14278,
    "h": 270.6
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#1A2378
secondary
#ACA241
accent
#D740E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1A2378

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

Preview Lab → · Contrast checker → · Palette generator →

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