#0F0C46#0F0C46

#0F0C46 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.103 H 275.2°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0F0C46
RGBrgb(15, 12, 70)
HSLhsl(243, 71%, 16%)
HSVhsv(243, 83%, 27%)
CMYKcmyk(78.6%, 82.9%, 0%, 72.5%)
CIE-LABlab(7.29, 23.17, -35.42)
CIE-LCHlch(7.29, 42.32, 303.19°)
OKLaboklab(21.06% 0.0094 -0.1025)
OKLCHoklch(21.06% 0.103 275.2)
XYZxyz(1.4336, 0.8066, 5.8733)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0C46 #43460C
analogous
#0C2646 #0F0C46 #2C0C46
triadic
#0F0C46 #460F0C #0C460F
tetradic
#0F0C46 #460C26 #43460C #0C462C
square
#0F0C46 #460C26 #43460C #0C462C
split-complementary
#0F0C46 #462C0C #26460C
monochromatic
#06041A #06041A #0F0C46 #1A157A #251EAE

Accessibility & contrast

On white

18.08
#0F0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0C46
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0C46#FFFFFF#000000##FFFFFF
##0F0C461.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001345
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0c46;
/* rgb */ color: rgb(15, 12, 70);
/* oklch */ color: oklch(21.1% 0.103 275.2);
Tailwind
colors: {
  custom: {
    50: '#584b7a',
    500: '#0f0c46',
    950: '#000000',
  },
}
SCSS
$custom: #0f0c46;
$custom-light: #584b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0c46",
  "rgb": {
    "r": 15,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 243.103,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21055,
    "c": 0.10295,
    "h": 275.2
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#0F0C46
secondary
#7D822C
accent
#ED3AE4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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