#12103C#12103C

#12103C is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.082 H 278.7°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#12103C
RGBrgb(18, 16, 60)
HSLhsl(243, 58%, 15%)
HSVhsv(243, 73%, 24%)
CMYKcmyk(70%, 73.3%, 0%, 76.5%)
CIE-LABlab(7.45, 16.93, -28.02)
CIE-LCHlch(7.45, 32.74, 301.13°)
OKLaboklab(20.91% 0.0123 -0.0807)
OKLCHoklch(20.91% 0.082 278.7)
XYZxyz(1.2501, 0.8253, 4.3675)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12103C #3A3C10
analogous
#10243C #12103C #28103C
triadic
#12103C #3C1210 #103C12
tetradic
#12103C #3C1024 #3A3C10 #103C28
square
#12103C #3C1024 #3A3C10 #103C28
split-complementary
#12103C #3C2810 #243C10
monochromatic
#070618 #070618 #12103C #201D6C #2F2A9D

Accessibility & contrast

On white

18.03
#12103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12103C
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12103C#FFFFFF#000000##FFFFFF
##12103C1.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #12103c;
/* rgb */ color: rgb(18, 16, 60);
/* oklch */ color: oklch(20.9% 0.082 278.7);
Tailwind
colors: {
  custom: {
    50: '#564e72',
    500: '#12103c',
    950: '#000000',
  },
}
SCSS
$custom: #12103c;
$custom-light: #564e72;
$custom-dark: #000000;
JSON
{
  "hex": "#12103c",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 242.727,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20913,
    "c": 0.08167,
    "h": 278.7
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#12103C
secondary
#737632
accent
#E147DA
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #12103C

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

Preview Lab → · Contrast checker → · Palette generator →

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