#10124E#10124E

#10124E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.107 H 272.8°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#10124E
RGBrgb(16, 18, 78)
HSLhsl(238, 66%, 18%)
HSVhsv(238, 79%, 31%)
CMYKcmyk(79.5%, 76.9%, 0%, 69.4%)
CIE-LABlab(9.74, 22.44, -36.95)
CIE-LCHlch(9.74, 43.23, 301.27°)
OKLaboklab(23.12% 0.0053 -0.1069)
OKLCHoklch(23.12% 0.107 272.8)
XYZxyz(1.8047, 1.0926, 7.3220)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10124E #4E4C10
analogous
#10314E #10124E #2D104E
triadic
#10124E #4E1012 #124E10
tetradic
#10124E #4E1031 #4E4C10 #104E2D
square
#10124E #4E1031 #4E4C10 #104E2D
split-complementary
#10124E #4E2D10 #314E10
monochromatic
#050619 #06061B #10124E #1A1E81 #2529B4

Accessibility & contrast

On white

17.23
#10124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10124E
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10124E#FFFFFF#000000##FFFFFF
##10124E1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #10124e;
/* rgb */ color: rgb(16, 18, 78);
/* oklch */ color: oklch(23.1% 0.107 272.8);
Tailwind
colors: {
  custom: {
    50: '#5a5080',
    500: '#10124e',
    950: '#000000',
  },
}
SCSS
$custom: #10124e;
$custom-light: #5a5080;
$custom-dark: #000000;
JSON
{
  "hex": "#10124e",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 238.065,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23124,
    "c": 0.107,
    "h": 272.8
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #10124E

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

Preview Lab → · Contrast checker → · Palette generator →

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