#0F0C35#0F0C35

#0F0C35 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.077 H 279.4°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#0F0C35
RGBrgb(15, 12, 53)
HSLhsl(244, 63%, 13%)
HSVhsv(244, 77%, 21%)
CMYKcmyk(71.7%, 77.4%, 0%, 79.2%)
CIE-LABlab(5.61, 15.32, -25.94)
CIE-LCHlch(5.61, 30.13, 300.58°)
OKLaboklab(19.08% 0.0127 -0.0761)
OKLCHoklch(19.08% 0.077 279.4)
XYZxyz(0.9709, 0.6215, 3.4363)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0C35 #32350C
analogous
#0C1D35 #0F0C35 #230C35
triadic
#0F0C35 #350F0C #0C350F
tetradic
#0F0C35 #350C1D #32350C #0C3523
square
#0F0C35 #350C1D #32350C #0C3523
split-complementary
#0F0C35 #35230C #1D350C
monochromatic
#070619 #070619 #0F0C35 #1D1767 #2B2399

Accessibility & contrast

On white

18.68
#0F0C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0F0C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0C35
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0C35#FFFFFF#000000##FFFFFF
##0F0C351.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#001134
Tritanopia (blue-blind)
#00171F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f0c35;
/* rgb */ color: rgb(15, 12, 53);
/* oklch */ color: oklch(19.1% 0.077 279.4);
Tailwind
colors: {
  custom: {
    50: '#524b6d',
    500: '#0f0c35',
    950: '#000000',
  },
}
SCSS
$custom: #0f0c35;
$custom-light: #524b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0c35",
  "rgb": {
    "r": 15,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 244.39,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.1908,
    "c": 0.07717,
    "h": 279.4
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#0F0C35
secondary
#6C712C
accent
#E642DA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0F0C35

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

Preview Lab → · Contrast checker → · Palette generator →

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