#0F0C44#0F0C44

#0F0C44 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.100 H 275.6°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#0F0C44
RGBrgb(15, 12, 68)
HSLhsl(243, 70%, 16%)
HSVhsv(243, 82%, 27%)
CMYKcmyk(77.9%, 82.4%, 0%, 73.3%)
CIE-LABlab(7.06, 22.33, -34.38)
CIE-LCHlch(7.06, 40.99, 303.00°)
OKLaboklab(20.81% 0.0098 -0.0996)
OKLCHoklch(20.81% 0.1 275.6)
XYZxyz(1.3715, 0.7817, 5.5463)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0C44 #41440C
analogous
#0C2544 #0F0C44 #2B0C44
triadic
#0F0C44 #440F0C #0C440F
tetradic
#0F0C44 #440C25 #41440C #0C442B
square
#0F0C44 #440C25 #41440C #0C442B
split-complementary
#0F0C44 #442B0C #25440C
monochromatic
#06051A #06051A #0F0C44 #1A1578 #261EAC

Accessibility & contrast

On white

18.16
#0F0C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F0C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0C44
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0C44#FFFFFF#000000##FFFFFF
##0F0C441.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001343
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0c44;
/* rgb */ color: rgb(15, 12, 68);
/* oklch */ color: oklch(20.8% 0.100 275.6);
Tailwind
colors: {
  custom: {
    50: '#574b79',
    500: '#0f0c44',
    950: '#000000',
  },
}
SCSS
$custom: #0f0c44;
$custom-light: #574b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0c44",
  "rgb": {
    "r": 15,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 243.214,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20811,
    "c": 0.10005,
    "h": 275.6
  },
  "luminance": 0.00782
}

Semantic roles & 50–950 ramp

primary
#0F0C44
secondary
#7B802C
accent
#ED3BE3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0C44

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

Preview Lab → · Contrast checker → · Palette generator →

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