#1A278B#1A278B

#1A278B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.164 H 269.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#1A278B
RGBrgb(26, 39, 139)
HSLhsl(233, 68%, 32%)
HSVhsv(233, 81%, 55%)
CMYKcmyk(81.3%, 71.9%, 0%, 45.5%)
CIE-LABlab(22.07, 32.88, -56.50)
CIE-LCHlch(22.07, 65.37, 300.20°)
OKLaboklab(34.16% -0.0027 -0.1637)
OKLCHoklch(34.16% 0.164 269.1)
XYZxyz(5.8101, 3.5341, 24.7970)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A278B #8B7E1A
analogous
#1A608B #1A278B #451A8B
triadic
#1A278B #8B1A27 #278B1A
tetradic
#1A278B #8B1A60 #8B7E1A #1A8B45
square
#1A278B #8B1A60 #8B7E1A #1A8B45
split-complementary
#1A278B #8B451A #608B1A
monochromatic
#070A24 #101957 #1A278B #2435BF #4355DC

Accessibility & contrast

On white

12.30
#1A278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A278B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A278B#FFFFFF#000000##FFFFFF
##1A278B1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#002F89
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a278b;
/* rgb */ color: rgb(26, 39, 139);
/* oklch */ color: oklch(34.2% 0.164 269.1);
Tailwind
colors: {
  custom: {
    50: '#6c61ae',
    500: '#1a278b',
    950: '#000000',
  },
}
SCSS
$custom: #1a278b;
$custom-light: #6c61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a278b",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 233.097,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34157,
    "c": 0.16368,
    "h": 269.1
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#1A278B
secondary
#BDAF44
accent
#D73CEB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A278B

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

Preview Lab → · Contrast checker → · Palette generator →

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