#0C2353#0C2353

#0C2353 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.092 H 262.6°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#0C2353
RGBrgb(12, 35, 83)
HSLhsl(221, 75%, 19%)
HSVhsv(221, 86%, 33%)
CMYKcmyk(85.5%, 57.8%, 0%, 67.5%)
CIE-LABlab(14.98, 11.38, -31.82)
CIE-LCHlch(14.98, 33.80, 289.67°)
OKLaboklab(27.1% -0.0118 -0.0917)
OKLCHoklch(27.1% 0.092 262.6)
XYZxyz(2.3134, 1.9045, 8.4276)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2353 #533C0C
analogous
#0C4653 #0C2353 #180C53
triadic
#0C2353 #530C23 #23530C
tetradic
#0C2353 #530C46 #533C0C #0C5318
square
#0C2353 #530C46 #533C0C #0C5318
split-complementary
#0C2353 #53180C #46530C
monochromatic
#040B1B #040C1E #0C2353 #143A88 #1B50BE

Accessibility & contrast

On white

15.21
#0C2353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2353
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2353#FFFFFF#000000##FFFFFF
##0C23531.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022955
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2353;
/* rgb */ color: rgb(12, 35, 83);
/* oklch */ color: oklch(27.1% 0.092 262.6);
Tailwind
colors: {
  custom: {
    50: '#585d84',
    500: '#0c2353',
    950: '#000000',
  },
}
SCSS
$custom: #0c2353;
$custom-light: #585d84;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2353",
  "rgb": {
    "r": 12,
    "g": 35,
    "b": 83
  },
  "hsl": {
    "h": 220.563,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.271,
    "c": 0.09248,
    "h": 262.6
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#0C2353
secondary
#8E6F2D
accent
#B536F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0C2353

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

Preview Lab → · Contrast checker → · Palette generator →

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