#10124C#10124C

#10124C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.104 H 273.1°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#10124C
RGBrgb(16, 18, 76)
HSLhsl(238, 65%, 18%)
HSVhsv(238, 79%, 30%)
CMYKcmyk(78.9%, 76.3%, 0%, 70.2%)
CIE-LABlab(9.52, 21.64, -35.94)
CIE-LCHlch(9.52, 41.95, 301.06°)
OKLaboklab(22.9% 0.0056 -0.1039)
OKLCHoklch(22.9% 0.104 273.1)
XYZxyz(1.7341, 1.0644, 6.9501)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10124C #4C4A10
analogous
#10304C #10124C #2C104C
triadic
#10124C #4C1012 #124C10
tetradic
#10124C #4C1030 #4C4A10 #104C2C
square
#10124C #4C1030 #4C4A10 #104C2C
split-complementary
#10124C #4C2C10 #304C10
monochromatic
#050619 #050619 #10124C #1B1E7F #252AB1

Accessibility & contrast

On white

17.31
#10124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10124C
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10124C#FFFFFF#000000##FFFFFF
##10124C1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#00184B
Tritanopia (blue-blind)
#00222D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #10124c;
/* rgb */ color: rgb(16, 18, 76);
/* oklch */ color: oklch(22.9% 0.104 273.1);
Tailwind
colors: {
  custom: {
    50: '#59507f',
    500: '#10124c',
    950: '#000000',
  },
}
SCSS
$custom: #10124c;
$custom-light: #59507f;
$custom-dark: #000000;
JSON
{
  "hex": "#10124c",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 238,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22896,
    "c": 0.10406,
    "h": 273.1
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #10124C

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

Preview Lab → · Contrast checker → · Palette generator →

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