#10278D#10278D

#10278D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.169 H 266.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#10278D
RGBrgb(16, 39, 141)
HSLhsl(229, 80%, 31%)
HSVhsv(229, 89%, 55%)
CMYKcmyk(88.7%, 72.3%, 0%, 44.7%)
CIE-LABlab(21.89, 32.93, -58.06)
CIE-LCHlch(21.89, 66.75, 299.56°)
OKLaboklab(33.98% -0.0113 -0.1684)
OKLCHoklch(33.98% 0.169 266.2)
XYZxyz(5.7452, 3.4836, 25.5637)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10278D #8D7610
analogous
#10658D #10278D #37108D
triadic
#10278D #8D1027 #278D10
tetradic
#10278D #8D1065 #8D7610 #108D37
square
#10278D #8D1065 #8D7610 #108D37
split-complementary
#10278D #8D3710 #658D10
monochromatic
#04091F #0A1856 #10278D #1636C4 #3052E7

Accessibility & contrast

On white

12.38
#10278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#10278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10278D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10278D#FFFFFF#000000##FFFFFF
##10278D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #10278d;
/* rgb */ color: rgb(16, 39, 141);
/* oklch */ color: oklch(34.0% 0.169 266.2);
Tailwind
colors: {
  custom: {
    50: '#6a61af',
    500: '#10278d',
    950: '#000000',
  },
}
SCSS
$custom: #10278d;
$custom-light: #6a61af;
$custom-dark: #000000;
JSON
{
  "hex": "#10278d",
  "rgb": {
    "r": 16,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 228.96,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33978,
    "c": 0.16875,
    "h": 266.2
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#10278D
secondary
#C2A837
accent
#D232F6
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #10278D

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

Preview Lab → · Contrast checker → · Palette generator →

#10278D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva