#12326F#12326F

#12326F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.113 H 261.7°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#12326F
RGBrgb(18, 50, 111)
HSLhsl(219, 72%, 25%)
HSVhsv(219, 84%, 44%)
CMYKcmyk(83.8%, 55%, 0%, 56.5%)
CIE-LABlab(22.15, 13.15, -38.65)
CIE-LCHlch(22.15, 40.82, 288.79°)
OKLaboklab(33.34% -0.0163 -0.1114)
OKLCHoklch(33.34% 0.113 261.7)
XYZxyz(4.2583, 3.5570, 15.4980)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12326F #6F4F12
analogous
#12606F #12326F #21126F
triadic
#12326F #6F1232 #326F12
tetradic
#12326F #6F1260 #6F4F12 #126F21
square
#12326F #6F1260 #6F4F12 #126F21
split-complementary
#12326F #6F2112 #606F12
monochromatic
#040C1A #091A3A #12326F #1B4AA4 #2361D8

Accessibility & contrast

On white

12.27
#12326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#12326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12326F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12326F#FFFFFF#000000##FFFFFF
##12326F1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063971
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12326f;
/* rgb */ color: rgb(18, 50, 111);
/* oklch */ color: oklch(33.3% 0.113 261.7);
Tailwind
colors: {
  custom: {
    50: '#616999',
    500: '#12326f',
    950: '#000000',
  },
}
SCSS
$custom: #12326f;
$custom-light: #616999;
$custom-dark: #000000;
JSON
{
  "hex": "#12326f",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 219.355,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33335,
    "c": 0.11256,
    "h": 261.7
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#12326F
secondary
#A68037
accent
#B039EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #12326F

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

Preview Lab → · Contrast checker → · Palette generator →

#12326F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva