#12103D#12103D

#12103D is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.083 H 278.4°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#12103D
RGBrgb(18, 16, 61)
HSLhsl(243, 58%, 15%)
HSVhsv(243, 74%, 24%)
CMYKcmyk(70.5%, 73.8%, 0%, 76.1%)
CIE-LABlab(7.55, 17.34, -28.58)
CIE-LCHlch(7.55, 33.43, 301.25°)
OKLaboklab(21.02% 0.0122 -0.0824)
OKLCHoklch(21.02% 0.083 278.4)
XYZxyz(1.2768, 0.8360, 4.5081)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12103D #3B3D10
analogous
#10243D #12103D #29103D
triadic
#12103D #3D1210 #103D12
tetradic
#12103D #3D1024 #3B3D10 #103D29
square
#12103D #3D1024 #3B3D10 #103D29
split-complementary
#12103D #3D2910 #243D10
monochromatic
#070618 #070618 #12103D #201D6D #2F299E

Accessibility & contrast

On white

17.99
#12103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12103D
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12103D#FFFFFF#000000##FFFFFF
##12103D1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #12103d;
/* rgb */ color: rgb(18, 16, 61);
/* oklch */ color: oklch(21.0% 0.083 278.4);
Tailwind
colors: {
  custom: {
    50: '#564e73',
    500: '#12103d',
    950: '#000000',
  },
}
SCSS
$custom: #12103d;
$custom-light: #564e73;
$custom-dark: #000000;
JSON
{
  "hex": "#12103d",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 242.667,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21018,
    "c": 0.08326,
    "h": 278.4
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#12103D
secondary
#747732
accent
#E246DB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #12103D

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

Preview Lab → · Contrast checker → · Palette generator →

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