#12153B#12153B

#12153B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.072 H 275.3°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#12153B
RGBrgb(18, 21, 59)
HSLhsl(236, 53%, 15%)
HSVhsv(236, 69%, 23%)
CMYKcmyk(69.5%, 64.4%, 0%, 76.9%)
CIE-LABlab(8.83, 12.76, -25.07)
CIE-LCHlch(8.83, 28.13, 296.98°)
OKLaboklab(21.91% 0.0067 -0.072)
OKLCHoklch(21.91% 0.072 275.3)
XYZxyz(1.3068, 0.9806, 4.2572)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12153B #3B3812
analogous
#12293B #12153B #24123B
triadic
#12153B #3B1215 #153B12
tetradic
#12153B #3B1229 #3B3812 #123B24
square
#12153B #3B1229 #3B3812 #123B24
split-complementary
#12153B #3B2412 #293B12
monochromatic
#070817 #070817 #12153B #20266A #2F3699

Accessibility & contrast

On white

17.56
#12153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#12153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12153B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12153B#FFFFFF#000000##FFFFFF
##12153B1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #12153b;
/* rgb */ color: rgb(18, 21, 59);
/* oklch */ color: oklch(21.9% 0.072 275.3);
Tailwind
colors: {
  custom: {
    50: '#555271',
    500: '#12153b',
    950: '#000000',
  },
}
SCSS
$custom: #12153b;
$custom-light: #555271;
$custom-dark: #000000;
JSON
{
  "hex": "#12153b",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 235.61,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21907,
    "c": 0.07227,
    "h": 275.3
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#12153B
secondary
#746F35
accent
#D24BDD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #12153B

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

Preview Lab → · Contrast checker → · Palette generator →

#12153B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva