#12133C#12133C

#12133C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.077 H 276.7°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#12133C
RGBrgb(18, 19, 60)
HSLhsl(239, 54%, 15%)
HSVhsv(239, 70%, 24%)
CMYKcmyk(70%, 68.3%, 0%, 76.5%)
CIE-LABlab(8.31, 14.72, -26.63)
CIE-LCHlch(8.31, 30.43, 298.92°)
OKLaboklab(21.55% 0.009 -0.0766)
OKLCHoklch(21.55% 0.077 276.7)
XYZxyz(1.2977, 0.9205, 4.3834)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12133C #3C3B12
analogous
#12283C #12133C #26123C
triadic
#12133C #3C1213 #133C12
tetradic
#12133C #3C1228 #3C3B12 #123C26
square
#12133C #3C1228 #3C3B12 #123C26
split-complementary
#12133C #3C2612 #283C12
monochromatic
#070718 #070718 #12133C #20226B #2E319A

Accessibility & contrast

On white

17.73
#12133C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#12133C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12133C
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12133C#FFFFFF#000000##FFFFFF
##12133C1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#001D25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #12133c;
/* rgb */ color: rgb(18, 19, 60);
/* oklch */ color: oklch(21.6% 0.077 276.7);
Tailwind
colors: {
  custom: {
    50: '#555072',
    500: '#12133c',
    950: '#000000',
  },
}
SCSS
$custom: #12133c;
$custom-light: #555072;
$custom-dark: #000000;
JSON
{
  "hex": "#12133c",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 60
  },
  "hsl": {
    "h": 238.571,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21551,
    "c": 0.07709,
    "h": 276.7
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#12133C
secondary
#757335
accent
#DA4BDD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #12133C

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

Preview Lab → · Contrast checker → · Palette generator →

#12133C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva