#10123C#10123C

#10123C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.079 H 275.2°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#10123C
RGBrgb(16, 18, 60)
HSLhsl(237, 58%, 15%)
HSVhsv(237, 73%, 24%)
CMYKcmyk(73.3%, 70%, 0%, 76.5%)
CIE-LABlab(7.85, 15.08, -27.39)
CIE-LCHlch(7.85, 31.27, 298.83°)
OKLaboklab(21.17% 0.0072 -0.0789)
OKLCHoklch(21.17% 0.079 275.2)
XYZxyz(1.2453, 0.8689, 4.3762)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10123C #3C3A10
analogous
#10283C #10123C #24103C
triadic
#10123C #3C1012 #123C10
tetradic
#10123C #3C1028 #3C3A10 #103C24
square
#10123C #3C1028 #3C3A10 #103C24
split-complementary
#10123C #3C2410 #283C10
monochromatic
#060718 #060718 #10123C #1D206C #2A2F9D

Accessibility & contrast

On white

17.89
#10123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#10123C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10123C
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10123C#FFFFFF#000000##FFFFFF
##10123C1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#001C24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #10123c;
/* rgb */ color: rgb(16, 18, 60);
/* oklch */ color: oklch(21.2% 0.079 275.2);
Tailwind
colors: {
  custom: {
    50: '#554f72',
    500: '#10123c',
    950: '#000000',
  },
}
SCSS
$custom: #10123c;
$custom-light: #554f72;
$custom-dark: #000000;
JSON
{
  "hex": "#10123c",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 237.273,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21166,
    "c": 0.0792,
    "h": 275.2
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#10123C
secondary
#767332
accent
#DA47E1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #10123C

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

Preview Lab → · Contrast checker → · Palette generator →

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