#10124D#10124D

#10124D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.106 H 273.0°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#10124D
RGBrgb(16, 18, 77)
HSLhsl(238, 66%, 18%)
HSVhsv(238, 79%, 30%)
CMYKcmyk(79.2%, 76.6%, 0%, 69.8%)
CIE-LABlab(9.63, 22.04, -36.44)
CIE-LCHlch(9.63, 42.59, 301.17°)
OKLaboklab(23.01% 0.0055 -0.1054)
OKLCHoklch(23.01% 0.106 273)
XYZxyz(1.7691, 1.0784, 7.1347)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10124D #4D4B10
analogous
#10304D #10124D #2C104D
triadic
#10124D #4D1012 #124D10
tetradic
#10124D #4D1030 #4D4B10 #104D2C
square
#10124D #4D1030 #4D4B10 #104D2C
split-complementary
#10124D #4D2C10 #304D10
monochromatic
#050619 #05061A #10124D #1B1E80 #252AB2

Accessibility & contrast

On white

17.27
#10124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#10124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10124D
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10124D#FFFFFF#000000##FFFFFF
##10124D1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #10124d;
/* rgb */ color: rgb(16, 18, 77);
/* oklch */ color: oklch(23.0% 0.106 273.0);
Tailwind
colors: {
  custom: {
    50: '#595080',
    500: '#10124d',
    950: '#000000',
  },
}
SCSS
$custom: #10124d;
$custom-light: #595080;
$custom-dark: #000000;
JSON
{
  "hex": "#10124d",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 238.033,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2301,
    "c": 0.10553,
    "h": 273
  },
  "luminance": 0.01079
}

Semantic roles & 50–950 ramp

primary
#10124D
secondary
#878432
accent
#E33FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #10124D

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

Preview Lab → · Contrast checker → · Palette generator →

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