#12326D#12326D

#12326D is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.110 H 261.3°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#12326D
RGBrgb(18, 50, 109)
HSLhsl(219, 72%, 25%)
HSVhsv(219, 83%, 43%)
CMYKcmyk(83.5%, 54.1%, 0%, 57.3%)
CIE-LABlab(21.99, 12.29, -37.62)
CIE-LCHlch(21.99, 39.57, 288.10°)
OKLaboklab(33.17% -0.0165 -0.1083)
OKLCHoklch(33.17% 0.11 261.3)
XYZxyz(4.1494, 3.5134, 14.9245)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12326D #6D4D12
analogous
#12606D #12326D #1F126D
triadic
#12326D #6D1232 #326D12
tetradic
#12326D #6D1260 #6D4D12 #126D1F
square
#12326D #6D1260 #6D4D12 #126D1F
split-complementary
#12326D #6D1F12 #606D12
monochromatic
#040C1A #091A38 #12326D #1B4AA2 #2362D6

Accessibility & contrast

On white

12.33
#12326D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#12326D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12326D
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12326D#FFFFFF#000000##FFFFFF
##12326D1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A396F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12326d;
/* rgb */ color: rgb(18, 50, 109);
/* oklch */ color: oklch(33.2% 0.110 261.3);
Tailwind
colors: {
  custom: {
    50: '#606997',
    500: '#12326d',
    950: '#000000',
  },
}
SCSS
$custom: #12326d;
$custom-light: #606997;
$custom-dark: #000000;
JSON
{
  "hex": "#12326d",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 218.901,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33166,
    "c": 0.10959,
    "h": 261.3
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#12326D
secondary
#A47E37
accent
#AF39EE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #12326D

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

Preview Lab → · Contrast checker → · Palette generator →

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