#0C0D48#0C0D48

#0C0D48 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.106 H 272.2°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#0C0D48
RGBrgb(12, 13, 72)
HSLhsl(239, 71%, 16%)
HSVhsv(239, 83%, 28%)
CMYKcmyk(83.3%, 81.9%, 0%, 71.8%)
CIE-LABlab(7.53, 23.00, -36.43)
CIE-LCHlch(7.53, 43.08, 302.27°)
OKLaboklab(21.25% 0.0041 -0.1055)
OKLCHoklch(21.25% 0.106 272.2)
XYZxyz(1.4648, 0.8337, 6.2134)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0D48 #48470C
analogous
#0C2B48 #0C0D48 #290C48
triadic
#0C0D48 #480C0D #0D480C
tetradic
#0C0D48 #480C2B #48470C #0C4829
square
#0C0D48 #480C2B #48470C #0C4829
split-complementary
#0C0D48 #48290C #2B480C
monochromatic
#04051A #04051A #0C0D48 #15167C #1D20B1

Accessibility & contrast

On white

18.00
#0C0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0C0D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0D48
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0D48#FFFFFF#000000##FFFFFF
##0C0D481.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001447
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c0d48;
/* rgb */ color: rgb(12, 13, 72);
/* oklch */ color: oklch(21.3% 0.106 272.2);
Tailwind
colors: {
  custom: {
    50: '#574c7c',
    500: '#0c0d48',
    950: '#000000',
  },
}
SCSS
$custom: #0c0d48;
$custom-light: #574c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0d48",
  "rgb": {
    "r": 12,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 239,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21252,
    "c": 0.10556,
    "h": 272.2
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#0C0D48
secondary
#84822C
accent
#EB3AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0C0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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