#0C2448#0C2448

#0C2448 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.074 H 258.5°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#0C2448
RGBrgb(12, 36, 72)
HSLhsl(216, 71%, 16%)
HSVhsv(216, 83%, 28%)
CMYKcmyk(83.3%, 50%, 0%, 71.8%)
CIE-LABlab(14.44, 5.70, -25.18)
CIE-LCHlch(14.44, 25.81, 282.76°)
OKLaboklab(26.42% -0.0146 -0.0721)
OKLCHoklch(26.42% 0.074 258.5)
XYZxyz(1.9518, 1.8076, 6.3757)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2448 #48300C
analogous
#0C4248 #0C2448 #120C48
triadic
#0C2448 #480C24 #24480C
tetradic
#0C2448 #480C42 #48300C #0C4812
square
#0C2448 #480C42 #48300C #0C4812
split-complementary
#0C2448 #48120C #42480C
monochromatic
#040D1A #040D1A #0C2448 #153E7C #1D58B1

Accessibility & contrast

On white

15.42
#0C2448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0C2448 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2448
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2448#FFFFFF#000000##FFFFFF
##0C24481.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122749
Deuteranopia (green-blind)
#062247
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0c2448;
/* rgb */ color: rgb(12, 36, 72);
/* oklch */ color: oklch(26.4% 0.074 258.5);
Tailwind
colors: {
  custom: {
    50: '#555e7b',
    500: '#0c2448',
    950: '#000000',
  },
}
SCSS
$custom: #0c2448;
$custom-light: #555e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2448",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 72
  },
  "hsl": {
    "h": 216,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26415,
    "c": 0.07359,
    "h": 258.5
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#0C2448
secondary
#84612C
accent
#A63AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0C2448

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

Preview Lab → · Contrast checker → · Palette generator →

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