#12325F#12325F

#12325F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.088 H 257.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#12325F
RGBrgb(18, 50, 95)
HSLhsl(215, 68%, 22%)
HSVhsv(215, 81%, 37%)
CMYKcmyk(81.1%, 47.4%, 0%, 62.7%)
CIE-LABlab(20.96, 6.30, -30.16)
CIE-LCHlch(20.96, 30.82, 281.80°)
OKLaboklab(32.05% -0.019 -0.0864)
OKLCHoklch(32.05% 0.088 257.6)
XYZxyz(3.4549, 3.2356, 11.2667)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12325F #5F3F12
analogous
#12595F #12325F #19125F
triadic
#12325F #5F1232 #325F12
tetradic
#12325F #5F1259 #5F3F12 #125F19
square
#12325F #5F1259 #5F3F12 #125F19
split-complementary
#12325F #5F1912 #595F12
monochromatic
#050E1A #08172C #12325F #1C4D92 #2568C6

Accessibility & contrast

On white

12.75
#12325F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#12325F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12325F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12325F#FFFFFF#000000##FFFFFF
##12325F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3661
Deuteranopia (green-blind)
#0C2F5E
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12325f;
/* rgb */ color: rgb(18, 50, 95);
/* oklch */ color: oklch(32.0% 0.088 257.6);
Tailwind
colors: {
  custom: {
    50: '#5d698d',
    500: '#12325f',
    950: '#000000',
  },
}
SCSS
$custom: #12325f;
$custom-light: #5d698d;
$custom-dark: #000000;
JSON
{
  "hex": "#12325f",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 95
  },
  "hsl": {
    "h": 215.065,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32046,
    "c": 0.08847,
    "h": 257.6
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#12325F
secondary
#976F36
accent
#A33DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #12325F

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

Preview Lab → · Contrast checker → · Palette generator →

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