#12326A#12326A

#12326A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.9% C 0.105 H 260.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#12326A
RGBrgb(18, 50, 106)
HSLhsl(218, 71%, 24%)
HSVhsv(218, 83%, 42%)
CMYKcmyk(83%, 52.8%, 0%, 58.4%)
CIE-LABlab(21.76, 11.01, -36.05)
CIE-LCHlch(21.76, 37.69, 286.99°)
OKLaboklab(32.92% -0.017 -0.1037)
OKLCHoklch(32.92% 0.105 260.7)
XYZxyz(3.9906, 3.4499, 14.0885)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12326A #6A4A12
analogous
#125E6A #12326A #1E126A
triadic
#12326A #6A1232 #326A12
tetradic
#12326A #6A125E #6A4A12 #126A1E
square
#12326A #6A125E #6A4A12 #126A1E
split-complementary
#12326A #6A1E12 #5E6A12
monochromatic
#040C1A #091936 #12326A #1B4B9E #2463D3

Accessibility & contrast

On white

12.43
#12326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#12326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12326A
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12326A#FFFFFF#000000##FFFFFF
##12326A1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F386C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12326a;
/* rgb */ color: rgb(18, 50, 106);
/* oklch */ color: oklch(32.9% 0.105 260.7);
Tailwind
colors: {
  custom: {
    50: '#606995',
    500: '#12326a',
    950: '#000000',
  },
}
SCSS
$custom: #12326a;
$custom-light: #606995;
$custom-dark: #000000;
JSON
{
  "hex": "#12326a",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 218.182,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32917,
    "c": 0.10511,
    "h": 260.7
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#12326A
secondary
#A27B36
accent
#AC3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12326A

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

Preview Lab → · Contrast checker → · Palette generator →

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