#12105F#12105F

#12105F is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.132 H 272.4°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#12105F
RGBrgb(18, 16, 95)
HSLhsl(242, 71%, 22%)
HSVhsv(242, 83%, 37%)
CMYKcmyk(81.1%, 83.2%, 0%, 62.7%)
CIE-LABlab(11.45, 30.37, -45.67)
CIE-LCHlch(11.45, 54.85, 303.62°)
OKLaboklab(24.98% 0.0056 -0.1322)
OKLCHoklch(24.98% 0.132 272.4)
XYZxyz(2.4996, 1.3251, 10.9483)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12105F #5D5F10
analogous
#10365F #12105F #3A105F
triadic
#12105F #5F1210 #105F12
tetradic
#12105F #5F1036 #5D5F10 #105F3A
square
#12105F #5F1036 #5D5F10 #105F3A
split-complementary
#12105F #5F3A10 #365F10
monochromatic
#05041A #08072B #12105F #1C1993 #2622C8

Accessibility & contrast

On white

16.60
#12105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#12105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12105F
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12105F#FFFFFF#000000##FFFFFF
##12105F1.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001A5E
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #12105f;
/* rgb */ color: rgb(18, 16, 95);
/* oklch */ color: oklch(25.0% 0.132 272.4);
Tailwind
colors: {
  custom: {
    50: '#60508d',
    500: '#12105f',
    950: '#000000',
  },
}
SCSS
$custom: #12105f;
$custom-light: #60508d;
$custom-dark: #000000;
JSON
{
  "hex": "#12105f",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 241.519,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.24978,
    "c": 0.13231,
    "h": 272.4
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#12105F
secondary
#959833
accent
#EE3AE9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #12105F

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

Preview Lab → · Contrast checker → · Palette generator →

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