#10124A#10124A

#10124A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.101 H 273.4°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#10124A
RGBrgb(16, 18, 74)
HSLhsl(238, 64%, 18%)
HSVhsv(238, 78%, 29%)
CMYKcmyk(78.4%, 75.7%, 0%, 71%)
CIE-LABlab(9.30, 20.84, -34.91)
CIE-LCHlch(9.30, 40.66, 300.83°)
OKLaboklab(22.67% 0.0059 -0.1009)
OKLCHoklch(22.67% 0.101 273.4)
XYZxyz(1.6656, 1.0370, 6.5896)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10124A #4A4810
analogous
#102F4A #10124A #2B104A
triadic
#10124A #4A1012 #124A10
tetradic
#10124A #4A102F #4A4810 #104A2B
square
#10124A #4A102F #4A4810 #104A2B
split-complementary
#10124A #4A2B10 #2F4A10
monochromatic
#050619 #050619 #10124A #1B1E7C #262AAF

Accessibility & contrast

On white

17.39
#10124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#10124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10124A
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10124A#FFFFFF#000000##FFFFFF
##10124A1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #10124a;
/* rgb */ color: rgb(16, 18, 74);
/* oklch */ color: oklch(22.7% 0.101 273.4);
Tailwind
colors: {
  custom: {
    50: '#59507d',
    500: '#10124a',
    950: '#000000',
  },
}
SCSS
$custom: #10124a;
$custom-light: #59507d;
$custom-dark: #000000;
JSON
{
  "hex": "#10124a",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 237.931,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22669,
    "c": 0.10108,
    "h": 273.4
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#10124A
secondary
#848132
accent
#E240E7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #10124A

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

Preview Lab → · Contrast checker → · Palette generator →

#10124A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva