#12102F#12102F

#12102F is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.6% C 0.060 H 282.3°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#12102F
RGBrgb(18, 16, 47)
HSLhsl(244, 49%, 12%)
HSVhsv(244, 66%, 18%)
CMYKcmyk(61.7%, 66%, 0%, 81.6%)
CIE-LABlab(6.36, 11.23, -20.30)
CIE-LCHlch(6.36, 23.20, 298.94°)
OKLaboklab(19.64% 0.0127 -0.0586)
OKLCHoklch(19.64% 0.06 282.3)
XYZxyz(0.9477, 0.7044, 2.7748)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12102F #2D2F10
analogous
#101E2F #12102F #22102F
triadic
#12102F #2F1210 #102F12
tetradic
#12102F #2F101E #2D2F10 #102F22
square
#12102F #2F101E #2D2F10 #102F22
split-complementary
#12102F #2F2210 #1E2F10
monochromatic
#090817 #090817 #12102F #23205D #352F8A

Accessibility & contrast

On white

18.41
#12102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#12102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12102F
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12102F#FFFFFF#000000##FFFFFF
##12102F1.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#01132E
Tritanopia (blue-blind)
#07171D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #12102f;
/* rgb */ color: rgb(18, 16, 47);
/* oklch */ color: oklch(19.6% 0.060 282.3);
Tailwind
colors: {
  custom: {
    50: '#524e68',
    500: '#12102f',
    950: '#000000',
  },
}
SCSS
$custom: #12102f;
$custom-light: #524e68;
$custom-dark: #000000;
JSON
{
  "hex": "#12102f",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 243.871,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19644,
    "c": 0.05998,
    "h": 282.3
  },
  "luminance": 0.00704
}

Semantic roles & 50–950 ramp

primary
#12102F
secondary
#656833
accent
#D94FD0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #12102F

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

Preview Lab → · Contrast checker → · Palette generator →

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