#12325B#12325B

#12325B is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.082 H 256.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#12325B
RGBrgb(18, 50, 91)
HSLhsl(214, 67%, 21%)
HSVhsv(214, 80%, 36%)
CMYKcmyk(80.2%, 45.1%, 0%, 64.3%)
CIE-LABlab(20.69, 4.59, -27.97)
CIE-LCHlch(20.69, 28.34, 279.32°)
OKLaboklab(31.75% -0.0199 -0.0799)
OKLCHoklch(31.75% 0.082 256)
XYZxyz(3.2777, 3.1648, 10.3336)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12325B #5B3B12
analogous
#12575B #12325B #17125B
triadic
#12325B #5B1232 #325B12
tetradic
#12325B #5B1257 #5B3B12 #125B17
square
#12325B #5B1257 #5B3B12 #125B17
split-complementary
#12325B #5B1712 #575B12
monochromatic
#050E1A #081628 #12325B #1C4E8E #266AC1

Accessibility & contrast

On white

12.86
#12325B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#12325B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12325B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12325B#FFFFFF#000000##FFFFFF
##12325B1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E355D
Deuteranopia (green-blind)
#112F5A
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12325b;
/* rgb */ color: rgb(18, 50, 91);
/* oklch */ color: oklch(31.7% 0.082 256.0);
Tailwind
colors: {
  custom: {
    50: '#5c698a',
    500: '#12325b',
    950: '#000000',
  },
}
SCSS
$custom: #12325b;
$custom-light: #5c698a;
$custom-dark: #000000;
JSON
{
  "hex": "#12325b",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 91
  },
  "hsl": {
    "h": 213.699,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31748,
    "c": 0.08239,
    "h": 256
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#12325B
secondary
#936A35
accent
#9F3EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #12325B

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

Preview Lab → · Contrast checker → · Palette generator →

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