#1A278F#1A278F

#1A278F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.169 H 268.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1A278F
RGBrgb(26, 39, 143)
HSLhsl(233, 69%, 33%)
HSVhsv(233, 82%, 56%)
CMYKcmyk(81.8%, 72.7%, 0%, 43.9%)
CIE-LABlab(22.49, 34.37, -58.30)
CIE-LCHlch(22.49, 67.67, 300.52°)
OKLaboklab(34.59% -0.0032 -0.1689)
OKLCHoklch(34.59% 0.169 268.9)
XYZxyz(6.1077, 3.6531, 26.3645)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A278F #8F821A
analogous
#1A618F #1A278F #471A8F
triadic
#1A278F #8F1A27 #278F1A
tetradic
#1A278F #8F1A61 #8F821A #1A8F47
square
#1A278F #8F1A61 #8F821A #1A8F47
split-complementary
#1A278F #8F471A #618F1A
monochromatic
#070B27 #11195B #1A278F #2335C3 #4657DD

Accessibility & contrast

On white

12.13
#1A278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A278F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A278F#FFFFFF#000000##FFFFFF
##1A278F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a278f;
/* rgb */ color: rgb(26, 39, 143);
/* oklch */ color: oklch(34.6% 0.169 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d62b1',
    500: '#1a278f',
    950: '#000000',
  },
}
SCSS
$custom: #1a278f;
$custom-light: #6d62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a278f",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 233.333,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34588,
    "c": 0.16891,
    "h": 268.9
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#1A278F
secondary
#BFB146
accent
#D83CEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A278F

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

Preview Lab → · Contrast checker → · Palette generator →

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