#12103E#12103E

#12103E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.085 H 278.2°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#12103E
RGBrgb(18, 16, 62)
HSLhsl(243, 59%, 15%)
HSVhsv(243, 74%, 24%)
CMYKcmyk(71%, 74.2%, 0%, 75.7%)
CIE-LABlab(7.65, 17.76, -29.14)
CIE-LCHlch(7.65, 34.12, 301.36°)
OKLaboklab(21.12% 0.0121 -0.084)
OKLCHoklch(21.12% 0.085 278.2)
XYZxyz(1.3040, 0.8469, 4.6512)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12103E #3C3E10
analogous
#10253E #12103E #29103E
triadic
#12103E #3E1210 #103E12
tetradic
#12103E #3E1025 #3C3E10 #103E29
square
#12103E #3E1025 #3C3E10 #103E29
split-complementary
#12103E #3E2910 #253E10
monochromatic
#070618 #070618 #12103E #201D6F #2E299F

Accessibility & contrast

On white

17.96
#12103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12103E
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12103E#FFFFFF#000000##FFFFFF
##12103E1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #12103e;
/* rgb */ color: rgb(18, 16, 62);
/* oklch */ color: oklch(21.1% 0.085 278.2);
Tailwind
colors: {
  custom: {
    50: '#564e74',
    500: '#12103e',
    950: '#000000',
  },
}
SCSS
$custom: #12103e;
$custom-light: #564e74;
$custom-dark: #000000;
JSON
{
  "hex": "#12103e",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 242.609,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21123,
    "c": 0.08485,
    "h": 278.2
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12103E

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

Preview Lab → · Contrast checker → · Palette generator →

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