#0C2352#0C2352

#0C2352 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.091 H 262.4°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#0C2352
RGBrgb(12, 35, 82)
HSLhsl(220, 74%, 18%)
HSVhsv(220, 85%, 32%)
CMYKcmyk(85.4%, 57.3%, 0%, 67.8%)
CIE-LABlab(14.89, 10.93, -31.28)
CIE-LCHlch(14.89, 33.14, 289.26°)
OKLaboklab(27.01% -0.012 -0.0901)
OKLCHoklch(27.01% 0.091 262.4)
XYZxyz(2.2751, 1.8892, 8.2257)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2352 #523B0C
analogous
#0C4652 #0C2352 #180C52
triadic
#0C2352 #520C23 #23520C
tetradic
#0C2352 #520C46 #523B0C #0C5218
square
#0C2352 #520C46 #523B0C #0C5218
split-complementary
#0C2352 #52180C #46520C
monochromatic
#040B1B #040C1D #0C2352 #143A87 #1C51BD

Accessibility & contrast

On white

15.24
#0C2352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0C2352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2352
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2352#FFFFFF#000000##FFFFFF
##0C23521.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032954
Deuteranopia (green-blind)
#002251
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2352;
/* rgb */ color: rgb(12, 35, 82);
/* oklch */ color: oklch(27.0% 0.091 262.4);
Tailwind
colors: {
  custom: {
    50: '#585d83',
    500: '#0c2352',
    950: '#000000',
  },
}
SCSS
$custom: #0c2352;
$custom-light: #585d83;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2352",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 220.286,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2701,
    "c": 0.09091,
    "h": 262.4
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#0C2352
secondary
#8D6E2C
accent
#B437F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #0C2352

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

Preview Lab → · Contrast checker → · Palette generator →

#0C2352 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva