#1A278D#1A278D

#1A278D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.166 H 269.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#1A278D
RGBrgb(26, 39, 141)
HSLhsl(233, 69%, 33%)
HSVhsv(233, 82%, 55%)
CMYKcmyk(81.6%, 72.3%, 0%, 44.7%)
CIE-LABlab(22.28, 33.63, -57.40)
CIE-LCHlch(22.28, 66.53, 300.36°)
OKLaboklab(34.37% -0.0029 -0.1663)
OKLCHoklch(34.37% 0.166 269)
XYZxyz(5.9576, 3.5930, 25.5737)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A278D #8D801A
analogous
#1A618D #1A278D #461A8D
triadic
#1A278D #8D1A27 #278D1A
tetradic
#1A278D #8D1A61 #8D801A #1A8D46
square
#1A278D #8D1A61 #8D801A #1A8D46
split-complementary
#1A278D #8D461A #618D1A
monochromatic
#070A26 #101959 #1A278D #2435C1 #4556DD

Accessibility & contrast

On white

12.22
#1A278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1A278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A278D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A278D#FFFFFF#000000##FFFFFF
##1A278D1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a278d;
/* rgb */ color: rgb(26, 39, 141);
/* oklch */ color: oklch(34.4% 0.166 269.0);
Tailwind
colors: {
  custom: {
    50: '#6d61af',
    500: '#1a278d',
    950: '#000000',
  },
}
SCSS
$custom: #1a278d;
$custom-light: #6d61af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a278d",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 233.217,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34372,
    "c": 0.16631,
    "h": 269
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#1A278D
secondary
#BEB045
accent
#D83CEC
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A278D

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

Preview Lab → · Contrast checker → · Palette generator →

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