#12326B#12326B

#12326B is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.107 H 260.9°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#12326B
RGBrgb(18, 50, 107)
HSLhsl(218, 71%, 25%)
HSVhsv(218, 83%, 42%)
CMYKcmyk(83.2%, 53.3%, 0%, 58%)
CIE-LABlab(21.84, 11.44, -36.57)
CIE-LCHlch(21.84, 38.32, 287.37°)
OKLaboklab(33% -0.0168 -0.1053)
OKLCHoklch(33% 0.107 260.9)
XYZxyz(4.0429, 3.4709, 14.3639)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12326B #6B4B12
analogous
#125F6B #12326B #1F126B
triadic
#12326B #6B1232 #326B12
tetradic
#12326B #6B125F #6B4B12 #126B1F
square
#12326B #6B125F #6B4B12 #126B1F
split-complementary
#12326B #6B1F12 #5F6B12
monochromatic
#040C1A #091A37 #12326B #1B4A9F #2463D4

Accessibility & contrast

On white

12.40
#12326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12326B
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12326B#FFFFFF#000000##FFFFFF
##12326B1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E396D
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #12326b;
/* rgb */ color: rgb(18, 50, 107);
/* oklch */ color: oklch(33.0% 0.107 260.9);
Tailwind
colors: {
  custom: {
    50: '#606996',
    500: '#12326b',
    950: '#000000',
  },
}
SCSS
$custom: #12326b;
$custom-light: #606996;
$custom-dark: #000000;
JSON
{
  "hex": "#12326b",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 218.427,
    "s": 71.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32999,
    "c": 0.10661,
    "h": 260.9
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#12326B
secondary
#A27C36
accent
#AD3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #12326B

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

Preview Lab → · Contrast checker → · Palette generator →

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