#10123F#10123F

#10123F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.084 H 274.8°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#10123F
RGBrgb(16, 18, 63)
HSLhsl(237, 59%, 15%)
HSVhsv(237, 75%, 25%)
CMYKcmyk(74.6%, 71.4%, 0%, 75.3%)
CIE-LABlab(8.14, 16.33, -29.06)
CIE-LCHlch(8.14, 33.33, 299.34°)
OKLaboklab(21.48% 0.0071 -0.0838)
OKLCHoklch(21.48% 0.084 274.8)
XYZxyz(1.3269, 0.9015, 4.8058)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10123F #3F3D10
analogous
#10293F #10123F #25103F
triadic
#10123F #3F1012 #123F10
tetradic
#10123F #3F1029 #3F3D10 #103F25
square
#10123F #3F1029 #3F3D10 #103F25
split-complementary
#10123F #3F2510 #293F10
monochromatic
#060718 #060718 #10123F #1C2070 #292EA1

Accessibility & contrast

On white

17.79
#10123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#10123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10123F
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10123F#FFFFFF#000000##FFFFFF
##10123F1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#001D26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #10123f;
/* rgb */ color: rgb(16, 18, 63);
/* oklch */ color: oklch(21.5% 0.084 274.8);
Tailwind
colors: {
  custom: {
    50: '#554f74',
    500: '#10123f',
    950: '#000000',
  },
}
SCSS
$custom: #10123f;
$custom-light: #554f74;
$custom-dark: #000000;
JSON
{
  "hex": "#10123f",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 237.447,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21475,
    "c": 0.08406,
    "h": 274.8
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#10123F
secondary
#797632
accent
#DC45E3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #10123F

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

Preview Lab → · Contrast checker → · Palette generator →

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