#0F0B2C#0F0B2C

#0F0B2C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.064 H 283.4°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#0F0B2C
RGBrgb(15, 11, 44)
HSLhsl(247, 60%, 11%)
HSVhsv(247, 75%, 17%)
CMYKcmyk(65.9%, 75%, 0%, 82.7%)
CIE-LABlab(4.72, 11.24, -20.68)
CIE-LCHlch(4.72, 23.54, 298.53°)
OKLaboklab(17.93% 0.0148 -0.0622)
OKLCHoklch(17.93% 0.064 283.4)
XYZxyz(0.7712, 0.5227, 2.4426)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B2C #282C0B
analogous
#0B172C #0F0B2C #1F0B2C
triadic
#0F0B2C #2C0F0B #0B2C0F
tetradic
#0F0B2C #2C0B17 #282C0B #0B2C1F
square
#0F0B2C #2C0B17 #282C0B #0B2C1F
split-complementary
#0F0B2C #2C1F0B #172C0B
monochromatic
#080618 #080618 #0F0B2C #20175D #30238E

Accessibility & contrast

On white

19.01
#0F0B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0F0B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0B2C
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B2C#FFFFFF#000000##FFFFFF
##0F0B2C1.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#000F2B
Tritanopia (blue-blind)
#041319
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0b2c;
/* rgb */ color: rgb(15, 11, 44);
/* oklch */ color: oklch(17.9% 0.064 283.4);
Tailwind
colors: {
  custom: {
    50: '#4f4b65',
    500: '#0f0b2c',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b2c;
$custom-light: #4f4b65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b2c",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 247.273,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17925,
    "c": 0.06396,
    "h": 283.4
  },
  "luminance": 0.00523
}

Semantic roles & 50–950 ramp

primary
#0F0B2C
secondary
#61682B
accent
#E345D0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0F0B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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