#10123E#10123E

#10123E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.082 H 275.0°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#10123E
RGBrgb(16, 18, 62)
HSLhsl(237, 59%, 15%)
HSVhsv(237, 74%, 24%)
CMYKcmyk(74.2%, 71%, 0%, 75.7%)
CIE-LABlab(8.04, 15.91, -28.50)
CIE-LCHlch(8.04, 32.64, 299.17°)
OKLaboklab(21.37% 0.0071 -0.0821)
OKLCHoklch(21.37% 0.082 275)
XYZxyz(1.2992, 0.8905, 4.6599)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10123E #3E3C10
analogous
#10293E #10123E #25103E
triadic
#10123E #3E1012 #123E10
tetradic
#10123E #3E1029 #3E3C10 #103E25
square
#10123E #3E1029 #3E3C10 #103E25
split-complementary
#10123E #3E2510 #293E10
monochromatic
#060718 #060718 #10123E #1D206F #292E9F

Accessibility & contrast

On white

17.82
#10123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10123E
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10123E#FFFFFF#000000##FFFFFF
##10123E1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#00163D
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #10123e;
/* rgb */ color: rgb(16, 18, 62);
/* oklch */ color: oklch(21.4% 0.082 275.0);
Tailwind
colors: {
  custom: {
    50: '#554f74',
    500: '#10123e',
    950: '#000000',
  },
}
SCSS
$custom: #10123e;
$custom-light: #554f74;
$custom-dark: #000000;
JSON
{
  "hex": "#10123e",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 237.391,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21371,
    "c": 0.08245,
    "h": 275
  },
  "luminance": 0.00891
}

Semantic roles & 50–950 ramp

primary
#10123E
secondary
#787532
accent
#DB46E2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #10123E

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

Preview Lab → · Contrast checker → · Palette generator →

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