#0F0F2B#0F0F2B

#0F0F2B is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.7% C 0.055 H 279.7°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#0F0F2B
RGBrgb(15, 15, 43)
HSLhsl(240, 48%, 11%)
HSVhsv(240, 65%, 17%)
CMYKcmyk(65.1%, 65.1%, 0%, 83.1%)
CIE-LABlab(5.58, 8.88, -18.57)
CIE-LCHlch(5.58, 20.59, 295.54°)
OKLaboklab(18.75% 0.0093 -0.0545)
OKLCHoklch(18.75% 0.055 279.7)
XYZxyz(0.8037, 0.6176, 2.3619)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F2B #2B2B0F
analogous
#0F1D2B #0F0F2B #1D0F2B
triadic
#0F0F2B #2B0F0F #0F2B0F
tetradic
#0F0F2B #2B0F1D #2B2B0F #0F2B1D
square
#0F0F2B #2B0F1D #2B2B0F #0F2B1D
split-complementary
#0F0F2B #2B1D0F #1D2B0F
monochromatic
#080817 #080817 #0F0F2B #1F1F58 #2F2F86

Accessibility & contrast

On white

18.69
#0F0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0F2B
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F2B#FFFFFF#000000##FFFFFF
##0F0F2B1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132C
Deuteranopia (green-blind)
#01112A
Tritanopia (blue-blind)
#04151B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f0f2b;
/* rgb */ color: rgb(15, 15, 43);
/* oklch */ color: oklch(18.7% 0.055 279.7);
Tailwind
colors: {
  custom: {
    50: '#4f4d64',
    500: '#0f0f2b',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f2b;
$custom-light: #4f4d64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f2b",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 240,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18749,
    "c": 0.05529,
    "h": 279.7
  },
  "luminance": 0.00618
}

Semantic roles & 50–950 ramp

primary
#0F0F2B
secondary
#646432
accent
#D850D8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0F0F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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