#12325E#12325E

#12325E is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 32.0% C 0.087 H 257.2°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#12325E
RGBrgb(18, 50, 94)
HSLhsl(215, 68%, 22%)
HSVhsv(215, 81%, 37%)
CMYKcmyk(80.9%, 46.8%, 0%, 63.1%)
CIE-LABlab(20.90, 5.87, -29.62)
CIE-LCHlch(20.90, 30.19, 281.22°)
OKLaboklab(31.97% -0.0192 -0.0848)
OKLCHoklch(31.97% 0.087 257.2)
XYZxyz(3.4097, 3.2176, 11.0289)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12325E #5E3E12
analogous
#12585E #12325E #18125E
triadic
#12325E #5E1232 #325E12
tetradic
#12325E #5E1258 #5E3E12 #125E18
square
#12325E #5E1258 #5E3E12 #125E18
split-complementary
#12325E #5E1812 #585E12
monochromatic
#050E1A #08172B #12325E #1C4D91 #2669C5

Accessibility & contrast

On white

12.78
#12325E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12325E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12325E#FFFFFF#000000##FFFFFF
##12325E1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12325e;
/* rgb */ color: rgb(18, 50, 94);
/* oklch */ color: oklch(32.0% 0.087 257.2);
Tailwind
colors: {
  custom: {
    50: '#5c698c',
    500: '#12325e',
    950: '#000000',
  },
}
SCSS
$custom: #12325e;
$custom-light: #5c698c;
$custom-dark: #000000;
JSON
{
  "hex": "#12325e",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 94
  },
  "hsl": {
    "h": 214.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.08695,
    "h": 257.2
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#12325E
secondary
#966E35
accent
#A23DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #12325E

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

Preview Lab → · Contrast checker → · Palette generator →

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