#12325D#12325D

#12325D is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.9% C 0.085 H 256.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#12325D
RGBrgb(18, 50, 93)
HSLhsl(214, 68%, 22%)
HSVhsv(214, 81%, 36%)
CMYKcmyk(80.6%, 46.2%, 0%, 63.5%)
CIE-LABlab(20.83, 5.45, -29.07)
CIE-LCHlch(20.83, 29.57, 280.61°)
OKLaboklab(31.9% -0.0194 -0.0832)
OKLCHoklch(31.9% 0.085 256.8)
XYZxyz(3.3651, 3.1997, 10.7941)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12325D #5D3D12
analogous
#12585D #12325D #18125D
triadic
#12325D #5D1232 #325D12
tetradic
#12325D #5D1258 #5D3D12 #125D18
square
#12325D #5D1258 #5D3D12 #125D18
split-complementary
#12325D #5D1812 #585D12
monochromatic
#050E1A #08162A #12325D #1C4E90 #2669C4

Accessibility & contrast

On white

12.80
#12325D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12325D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12325D#FFFFFF#000000##FFFFFF
##12325D1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D365F
Deuteranopia (green-blind)
#0F2F5C
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12325d;
/* rgb */ color: rgb(18, 50, 93);
/* oklch */ color: oklch(31.9% 0.085 256.8);
Tailwind
colors: {
  custom: {
    50: '#5c698b',
    500: '#12325d',
    950: '#000000',
  },
}
SCSS
$custom: #12325d;
$custom-light: #5c698b;
$custom-dark: #000000;
JSON
{
  "hex": "#12325d",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 93
  },
  "hsl": {
    "h": 214.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31896,
    "c": 0.08543,
    "h": 256.8
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#12325D
secondary
#956C35
accent
#A13DEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #12325D

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

Preview Lab → · Contrast checker → · Palette generator →

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