#12103A#12103A

#12103A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.078 H 279.2°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#12103A
RGBrgb(18, 16, 58)
HSLhsl(243, 57%, 15%)
HSVhsv(243, 72%, 23%)
CMYKcmyk(69%, 72.4%, 0%, 77.3%)
CIE-LABlab(7.27, 16.08, -26.89)
CIE-LCHlch(7.27, 31.33, 300.87°)
OKLaboklab(20.71% 0.0125 -0.0775)
OKLCHoklch(20.71% 0.078 279.2)
XYZxyz(1.1982, 0.8046, 4.0943)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12103A #383A10
analogous
#10233A #12103A #27103A
triadic
#12103A #3A1210 #103A12
tetradic
#12103A #3A1023 #383A10 #103A27
square
#12103A #3A1023 #383A10 #103A27
split-complementary
#12103A #3A2710 #233A10
monochromatic
#070718 #070718 #12103A #211D6A #302A9A

Accessibility & contrast

On white

18.09
#12103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12103A
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12103A#FFFFFF#000000##FFFFFF
##12103A1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #12103a;
/* rgb */ color: rgb(18, 16, 58);
/* oklch */ color: oklch(20.7% 0.078 279.2);
Tailwind
colors: {
  custom: {
    50: '#554e71',
    500: '#12103a',
    950: '#000000',
  },
}
SCSS
$custom: #12103a;
$custom-light: #554e71;
$custom-dark: #000000;
JSON
{
  "hex": "#12103a",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 242.857,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20707,
    "c": 0.07846,
    "h": 279.2
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#12103A
secondary
#717432
accent
#E048D9
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #12103A

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

Preview Lab → · Contrast checker → · Palette generator →

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