#10124F#10124F

#10124F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.108 H 272.7°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#10124F
RGBrgb(16, 18, 79)
HSLhsl(238, 66%, 19%)
HSVhsv(238, 80%, 31%)
CMYKcmyk(79.7%, 77.2%, 0%, 69%)
CIE-LABlab(9.85, 22.84, -37.45)
CIE-LCHlch(9.85, 43.87, 301.37°)
OKLaboklab(23.24% 0.0052 -0.1083)
OKLCHoklch(23.24% 0.108 272.7)
XYZxyz(1.8408, 1.1071, 7.5123)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10124F #4F4D10
analogous
#10314F #10124F #2D104F
triadic
#10124F #4F1012 #124F10
tetradic
#10124F #4F1031 #4F4D10 #104F2D
square
#10124F #4F1031 #4F4D10 #104F2D
split-complementary
#10124F #4F2D10 #314F10
monochromatic
#050619 #06061C #10124F #1A1E82 #2529B5

Accessibility & contrast

On white

17.19
#10124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10124F
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10124F#FFFFFF#000000##FFFFFF
##10124F1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #10124f;
/* rgb */ color: rgb(16, 18, 79);
/* oklch */ color: oklch(23.2% 0.108 272.7);
Tailwind
colors: {
  custom: {
    50: '#5a5081',
    500: '#10124f',
    950: '#000000',
  },
}
SCSS
$custom: #10124f;
$custom-light: #5a5081;
$custom-dark: #000000;
JSON
{
  "hex": "#10124f",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 238.095,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2324,
    "c": 0.10846,
    "h": 272.7
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#10124F
secondary
#898632
accent
#E43FE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #10124F

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

Preview Lab → · Contrast checker → · Palette generator →

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