#12325A#12325A

#12325A is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.7% C 0.081 H 255.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#12325A
RGBrgb(18, 50, 90)
HSLhsl(213, 67%, 21%)
HSVhsv(213, 80%, 35%)
CMYKcmyk(80%, 44.4%, 0%, 64.7%)
CIE-LABlab(20.63, 4.17, -27.41)
CIE-LCHlch(20.63, 27.73, 278.64°)
OKLaboklab(31.67% -0.0202 -0.0783)
OKLCHoklch(31.67% 0.081 255.6)
XYZxyz(3.2348, 3.1476, 10.1079)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12325A #5A3A12
analogous
#12565A #12325A #16125A
triadic
#12325A #5A1232 #325A12
tetradic
#12325A #5A1256 #5A3A12 #125A16
square
#12325A #5A1256 #5A3A12 #125A16
split-complementary
#12325A #5A1612 #565A12
monochromatic
#050E1A #081627 #12325A #1C4E8D #266BC0

Accessibility & contrast

On white

12.89
#12325A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12325A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12325A#FFFFFF#000000##FFFFFF
##12325A1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F355C
Deuteranopia (green-blind)
#132F59
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12325a;
/* rgb */ color: rgb(18, 50, 90);
/* oklch */ color: oklch(31.7% 0.081 255.6);
Tailwind
colors: {
  custom: {
    50: '#5b6989',
    500: '#12325a',
    950: '#000000',
  },
}
SCSS
$custom: #12325a;
$custom-light: #5b6989;
$custom-dark: #000000;
JSON
{
  "hex": "#12325a",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 90
  },
  "hsl": {
    "h": 213.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31675,
    "c": 0.08087,
    "h": 255.6
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#12325A
secondary
#936935
accent
#9D3EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #12325A

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

Preview Lab → · Contrast checker → · Palette generator →

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