#13123A#13123A

#13123A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.075 H 279.0°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#13123A
RGBrgb(19, 18, 58)
HSLhsl(242, 53%, 15%)
HSVhsv(242, 69%, 23%)
CMYKcmyk(67.2%, 69%, 0%, 77.3%)
CIE-LABlab(7.92, 14.88, -25.83)
CIE-LCHlch(7.92, 29.81, 299.94°)
OKLaboklab(21.22% 0.0117 -0.0742)
OKLCHoklch(21.22% 0.075 279)
XYZxyz(1.2483, 0.8765, 4.1056)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13123A #393A12
analogous
#12253A #13123A #27123A
triadic
#13123A #3A1312 #123A13
tetradic
#13123A #3A1225 #393A12 #123A27
square
#13123A #3A1225 #393A12 #123A27
split-complementary
#13123A #3A2712 #253A12
monochromatic
#080717 #080717 #13123A #222069 #322F97

Accessibility & contrast

On white

17.87
#13123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#13123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13123A
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13123A#FFFFFF#000000##FFFFFF
##13123A1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#001C23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #13123a;
/* rgb */ color: rgb(19, 18, 58);
/* oklch */ color: oklch(21.2% 0.075 279.0);
Tailwind
colors: {
  custom: {
    50: '#564f70',
    500: '#13123a',
    950: '#000000',
  },
}
SCSS
$custom: #13123a;
$custom-light: #564f70;
$custom-dark: #000000;
JSON
{
  "hex": "#13123a",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 241.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21224,
    "c": 0.0751,
    "h": 279
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#13123A
secondary
#717335
accent
#DC4CD8
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #13123A

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

Preview Lab → · Contrast checker → · Palette generator →

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