#12133D#12133D

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

Color values

HEX#12133D
RGBrgb(18, 19, 61)
HSLhsl(239, 54%, 15%)
HSVhsv(239, 70%, 24%)
CMYKcmyk(70.5%, 68.9%, 0%, 76.1%)
CIE-LABlab(8.40, 15.13, -27.19)
CIE-LCHlch(8.40, 31.12, 299.08°)
OKLaboklab(21.65% 0.009 -0.0782)
OKLCHoklch(21.65% 0.079 276.6)
XYZxyz(1.3244, 0.9312, 4.5239)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12133D #3D3C12
analogous
#12283D #12133D #26123D
triadic
#12133D #3D1213 #133D12
tetradic
#12133D #3D1228 #3D3C12 #123D26
square
#12133D #3D1228 #3D3C12 #123D26
split-complementary
#12133D #3D2612 #283D12
monochromatic
#070718 #070718 #12133D #20226C #2E309C

Accessibility & contrast

On white

17.70
#12133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#12133D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12133D
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12133D#FFFFFF#000000##FFFFFF
##12133D1.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12133d;
/* rgb */ color: rgb(18, 19, 61);
/* oklch */ color: oklch(21.6% 0.079 276.6);
Tailwind
colors: {
  custom: {
    50: '#565073',
    500: '#12133d',
    950: '#000000',
  },
}
SCSS
$custom: #12133d;
$custom-light: #565073;
$custom-dark: #000000;
JSON
{
  "hex": "#12133d",
  "rgb": {
    "r": 18,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 238.605,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21649,
    "c": 0.07873,
    "h": 276.6
  },
  "luminance": 0.00931
}

Semantic roles & 50–950 ramp

primary
#12133D
secondary
#767435
accent
#DA4ADE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #12133D

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

Preview Lab → · Contrast checker → · Palette generator →

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