#12326E#12326E

#12326E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.111 H 261.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#12326E
RGBrgb(18, 50, 110)
HSLhsl(219, 72%, 25%)
HSVhsv(219, 84%, 43%)
CMYKcmyk(83.6%, 54.5%, 0%, 56.9%)
CIE-LABlab(22.07, 12.72, -38.13)
CIE-LCHlch(22.07, 40.20, 288.45°)
OKLaboklab(33.25% -0.0164 -0.1099)
OKLCHoklch(33.25% 0.111 261.5)
XYZxyz(4.2035, 3.5351, 15.2096)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12326E #6E4E12
analogous
#12606E #12326E #20126E
triadic
#12326E #6E1232 #326E12
tetradic
#12326E #6E1260 #6E4E12 #126E20
square
#12326E #6E1260 #6E4E12 #126E20
split-complementary
#12326E #6E2012 #606E12
monochromatic
#040C1A #091A39 #12326E #1B4AA3 #2362D7

Accessibility & contrast

On white

12.30
#12326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12326E
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12326E#FFFFFF#000000##FFFFFF
##12326E1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12326e;
/* rgb */ color: rgb(18, 50, 110);
/* oklch */ color: oklch(33.3% 0.111 261.5);
Tailwind
colors: {
  custom: {
    50: '#616998',
    500: '#12326e',
    950: '#000000',
  },
}
SCSS
$custom: #12326e;
$custom-light: #616998;
$custom-dark: #000000;
JSON
{
  "hex": "#12326e",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 219.13,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3325,
    "c": 0.11108,
    "h": 261.5
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12326E

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

Preview Lab → · Contrast checker → · Palette generator →

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