#12103F#12103F

#12103F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.086 H 278.0°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#12103F
RGBrgb(18, 16, 63)
HSLhsl(243, 59%, 15%)
HSVhsv(243, 75%, 25%)
CMYKcmyk(71.4%, 74.6%, 0%, 75.3%)
CIE-LABlab(7.75, 18.17, -29.69)
CIE-LCHlch(7.75, 34.81, 301.46°)
OKLaboklab(21.23% 0.012 -0.0856)
OKLCHoklch(21.23% 0.086 278)
XYZxyz(1.3317, 0.8580, 4.7971)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12103F #3D3F10
analogous
#10253F #12103F #29103F
triadic
#12103F #3F1210 #103F12
tetradic
#12103F #3F1025 #3D3F10 #103F29
square
#12103F #3F1025 #3D3F10 #103F29
split-complementary
#12103F #3F2910 #253F10
monochromatic
#070618 #070618 #12103F #201C70 #2E29A1

Accessibility & contrast

On white

17.92
#12103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12103F
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12103F#FFFFFF#000000##FFFFFF
##12103F1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #12103f;
/* rgb */ color: rgb(18, 16, 63);
/* oklch */ color: oklch(21.2% 0.086 278.0);
Tailwind
colors: {
  custom: {
    50: '#574e75',
    500: '#12103f',
    950: '#000000',
  },
}
SCSS
$custom: #12103f;
$custom-light: #574e75;
$custom-dark: #000000;
JSON
{
  "hex": "#12103f",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 242.553,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21229,
    "c": 0.08641,
    "h": 278
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

primary
#12103F
secondary
#767932
accent
#E345DC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #12103F

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

Preview Lab → · Contrast checker → · Palette generator →

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