#12153A#12153A

#12153A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.071 H 275.4°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#12153A
RGBrgb(18, 21, 58)
HSLhsl(236, 53%, 15%)
HSVhsv(236, 69%, 23%)
CMYKcmyk(69%, 63.8%, 0%, 77.3%)
CIE-LABlab(8.74, 12.35, -24.50)
CIE-LCHlch(8.74, 27.43, 296.75°)
OKLaboklab(21.81% 0.0066 -0.0703)
OKLCHoklch(21.81% 0.071 275.4)
XYZxyz(1.2811, 0.9703, 4.1219)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12153A #3A3712
analogous
#12293A #12153A #23123A
triadic
#12153A #3A1215 #153A12
tetradic
#12153A #3A1229 #3A3712 #123A23
square
#12153A #3A1229 #3A3712 #123A23
split-complementary
#12153A #3A2312 #293A12
monochromatic
#070817 #070817 #12153A #202669 #2F3797

Accessibility & contrast

On white

17.59
#12153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#12153A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12153A
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12153A#FFFFFF#000000##FFFFFF
##12153A1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #12153a;
/* rgb */ color: rgb(18, 21, 58);
/* oklch */ color: oklch(21.8% 0.071 275.4);
Tailwind
colors: {
  custom: {
    50: '#555270',
    500: '#12153a',
    950: '#000000',
  },
}
SCSS
$custom: #12153a;
$custom-light: #555270;
$custom-dark: #000000;
JSON
{
  "hex": "#12153a",
  "rgb": {
    "r": 18,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 235.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21814,
    "c": 0.07057,
    "h": 275.4
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#12153A
secondary
#736E35
accent
#D14CDC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #12153A

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

Preview Lab → · Contrast checker → · Palette generator →

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