#12376C#12376C

#12376C is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.101 H 258.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#12376C
RGBrgb(18, 55, 108)
HSLhsl(215, 71%, 25%)
HSVhsv(215, 83%, 42%)
CMYKcmyk(83.3%, 49.1%, 0%, 57.6%)
CIE-LABlab(23.48, 8.27, -34.57)
CIE-LCHlch(23.48, 35.54, 283.46°)
OKLaboklab(34.28% -0.021 -0.0993)
OKLCHoklch(34.28% 0.101 258.1)
XYZxyz(4.3214, 3.9432, 14.7178)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12376C #6C4712
analogous
#12646C #12376C #1A126C
triadic
#12376C #6C1237 #376C12
tetradic
#12376C #6C1264 #6C4712 #126C1A
square
#12376C #6C1264 #6C4712 #126C1A
split-complementary
#12376C #6C1A12 #646C12
monochromatic
#040D1A #091C38 #12376C #1B52A0 #236CD5

Accessibility & contrast

On white

11.74
#12376C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#12376C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12376C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12376C#FFFFFF#000000##FFFFFF
##12376C1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3C6E
Deuteranopia (green-blind)
#03346B
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #12376c;
/* rgb */ color: rgb(18, 55, 108);
/* oklch */ color: oklch(34.3% 0.101 258.1);
Tailwind
colors: {
  custom: {
    50: '#606d96',
    500: '#12376c',
    950: '#000000',
  },
}
SCSS
$custom: #12376c;
$custom-light: #606d96;
$custom-dark: #000000;
JSON
{
  "hex": "#12376c",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 108
  },
  "hsl": {
    "h": 215.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34285,
    "c": 0.10145,
    "h": 258.1
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#12376C
secondary
#A37736
accent
#A43AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #12376C

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

Preview Lab → · Contrast checker → · Palette generator →

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