#12327C#12327C

#12327C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.5% C 0.132 H 263.4°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#12327C
RGBrgb(18, 50, 124)
HSLhsl(222, 75%, 28%)
HSVhsv(222, 85%, 49%)
CMYKcmyk(85.5%, 59.7%, 0%, 51.4%)
CIE-LABlab(23.22, 18.64, -45.20)
CIE-LCHlch(23.22, 48.90, 292.41°)
OKLaboklab(34.48% -0.0151 -0.1306)
OKLCHoklch(34.48% 0.132 263.4)
XYZxyz(5.0268, 3.8644, 19.5458)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12327C #7C5C12
analogous
#12677C #12327C #27127C
triadic
#12327C #7C1232 #327C12
tetradic
#12327C #7C1267 #7C5C12 #127C27
square
#12327C #7C1267 #7C5C12 #127C27
split-complementary
#12327C #7C2712 #677C12
monochromatic
#040B1B #0A1C47 #12327C #1A48B1 #2960E0

Accessibility & contrast

On white

11.84
#12327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#12327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12327C
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12327C#FFFFFF#000000##FFFFFF
##12327C1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12327c;
/* rgb */ color: rgb(18, 50, 124);
/* oklch */ color: oklch(34.5% 0.132 263.4);
Tailwind
colors: {
  custom: {
    50: '#6569a3',
    500: '#12327c',
    950: '#000000',
  },
}
SCSS
$custom: #12327c;
$custom-light: #6569a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12327c",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 221.887,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3448,
    "c": 0.13152,
    "h": 263.4
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#12327C
secondary
#B28D38
accent
#B937F1
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #12327C

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

Preview Lab → · Contrast checker → · Palette generator →

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