#12325C#12325C

#12325C is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.8% C 0.084 H 256.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#12325C
RGBrgb(18, 50, 92)
HSLhsl(214, 67%, 22%)
HSVhsv(214, 80%, 36%)
CMYKcmyk(80.4%, 45.7%, 0%, 63.9%)
CIE-LABlab(20.76, 5.02, -28.52)
CIE-LCHlch(20.76, 28.96, 279.98°)
OKLaboklab(31.82% -0.0197 -0.0816)
OKLCHoklch(31.82% 0.084 256.4)
XYZxyz(3.3211, 3.1821, 10.5623)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12325C #5C3C12
analogous
#12575C #12325C #17125C
triadic
#12325C #5C1232 #325C12
tetradic
#12325C #5C1257 #5C3C12 #125C17
square
#12325C #5C1257 #5C3C12 #125C17
split-complementary
#12325C #5C1712 #575C12
monochromatic
#050E1A #081629 #12325C #1C4E8F #266AC2

Accessibility & contrast

On white

12.83
#12325C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#12325C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12325C
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12325C#FFFFFF#000000##FFFFFF
##12325C1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D365E
Deuteranopia (green-blind)
#102F5B
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12325c;
/* rgb */ color: rgb(18, 50, 92);
/* oklch */ color: oklch(31.8% 0.084 256.4);
Tailwind
colors: {
  custom: {
    50: '#5c698a',
    500: '#12325c',
    950: '#000000',
  },
}
SCSS
$custom: #12325c;
$custom-light: #5c698a;
$custom-dark: #000000;
JSON
{
  "hex": "#12325c",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 92
  },
  "hsl": {
    "h": 214.054,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31822,
    "c": 0.08391,
    "h": 256.4
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#12325C
secondary
#946B35
accent
#A03EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #12325C

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

Preview Lab → · Contrast checker → · Palette generator →

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