#12376E#12376E

#12376E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.4% C 0.104 H 258.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#12376E
RGBrgb(18, 55, 110)
HSLhsl(216, 72%, 25%)
HSVhsv(216, 84%, 43%)
CMYKcmyk(83.6%, 50%, 0%, 56.9%)
CIE-LABlab(23.63, 9.13, -35.62)
CIE-LCHlch(23.63, 36.77, 284.37°)
OKLaboklab(34.44% -0.0206 -0.1024)
OKLCHoklch(34.44% 0.104 258.6)
XYZxyz(4.4291, 3.9862, 15.2848)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12376E #6E4912
analogous
#12656E #12376E #1B126E
triadic
#12376E #6E1237 #376E12
tetradic
#12376E #6E1265 #6E4912 #126E1B
square
#12376E #6E1265 #6E4912 #126E1B
split-complementary
#12376E #6E1B12 #656E12
monochromatic
#040D1A #091D39 #12376E #1B51A3 #236CD7

Accessibility & contrast

On white

11.68
#12376E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#12376E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12376E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12376E#FFFFFF#000000##FFFFFF
##12376E1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #12376e;
/* rgb */ color: rgb(18, 55, 110);
/* oklch */ color: oklch(34.4% 0.104 258.6);
Tailwind
colors: {
  custom: {
    50: '#606d98',
    500: '#12376e',
    950: '#000000',
  },
}
SCSS
$custom: #12376e;
$custom-light: #606d98;
$custom-dark: #000000;
JSON
{
  "hex": "#12376e",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 110
  },
  "hsl": {
    "h": 215.87,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34441,
    "c": 0.10441,
    "h": 258.6
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#12376E
secondary
#A57937
accent
#A639EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #12376E

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

Preview Lab → · Contrast checker → · Palette generator →

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