#12103B#12103B

#12103B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.080 H 278.9°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#12103B
RGBrgb(18, 16, 59)
HSLhsl(243, 57%, 15%)
HSVhsv(243, 73%, 23%)
CMYKcmyk(69.5%, 72.9%, 0%, 76.9%)
CIE-LABlab(7.36, 16.50, -27.46)
CIE-LCHlch(7.36, 32.03, 301.00°)
OKLaboklab(20.81% 0.0124 -0.0791)
OKLCHoklch(20.81% 0.08 278.9)
XYZxyz(1.2239, 0.8149, 4.2296)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12103B #393B10
analogous
#10243B #12103B #28103B
triadic
#12103B #3B1210 #103B12
tetradic
#12103B #3B1024 #393B10 #103B28
square
#12103B #3B1024 #393B10 #103B28
split-complementary
#12103B #3B2810 #243B10
monochromatic
#070718 #070718 #12103B #211D6B #2F2A9B

Accessibility & contrast

On white

18.06
#12103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#12103B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12103B
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12103B#FFFFFF#000000##FFFFFF
##12103B1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #12103b;
/* rgb */ color: rgb(18, 16, 59);
/* oklch */ color: oklch(20.8% 0.080 278.9);
Tailwind
colors: {
  custom: {
    50: '#554e71',
    500: '#12103b',
    950: '#000000',
  },
}
SCSS
$custom: #12103b;
$custom-light: #554e71;
$custom-dark: #000000;
JSON
{
  "hex": "#12103b",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 242.791,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20809,
    "c": 0.08008,
    "h": 278.9
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#12103B
secondary
#727532
accent
#E147D9
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #12103B

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

Preview Lab → · Contrast checker → · Palette generator →

#12103B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva