#12326C#12326C

#12326C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.108 H 261.1°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#12326C
RGBrgb(18, 50, 108)
HSLhsl(219, 71%, 25%)
HSVhsv(219, 83%, 42%)
CMYKcmyk(83.3%, 53.7%, 0%, 57.6%)
CIE-LABlab(21.92, 11.87, -37.10)
CIE-LCHlch(21.92, 38.95, 287.74°)
OKLaboklab(33.08% -0.0167 -0.1068)
OKLCHoklch(33.08% 0.108 261.1)
XYZxyz(4.0959, 3.4920, 14.6426)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12326C #6C4C12
analogous
#125F6C #12326C #1F126C
triadic
#12326C #6C1232 #326C12
tetradic
#12326C #6C125F #6C4C12 #126C1F
square
#12326C #6C125F #6C4C12 #126C1F
split-complementary
#12326C #6C1F12 #5F6C12
monochromatic
#040C1A #091A38 #12326C #1B4AA0 #2363D5

Accessibility & contrast

On white

12.36
#12326C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12326C
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12326C#FFFFFF#000000##FFFFFF
##12326C1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C396E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12326c;
/* rgb */ color: rgb(18, 50, 108);
/* oklch */ color: oklch(33.1% 0.108 261.1);
Tailwind
colors: {
  custom: {
    50: '#606997',
    500: '#12326c',
    950: '#000000',
  },
}
SCSS
$custom: #12326c;
$custom-light: #606997;
$custom-dark: #000000;
JSON
{
  "hex": "#12326c",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 108
  },
  "hsl": {
    "h": 218.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33083,
    "c": 0.1081,
    "h": 261.1
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#12326C
secondary
#A37D36
accent
#AE3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12326C

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

Preview Lab → · Contrast checker → · Palette generator →

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