#0F0F33#0F0F33

#0F0F33 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.5% C 0.069 H 277.8°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#0F0F33
RGBrgb(15, 15, 51)
HSLhsl(240, 55%, 13%)
HSVhsv(240, 71%, 20%)
CMYKcmyk(70.6%, 70.6%, 0%, 80%)
CIE-LABlab(6.16, 12.75, -23.59)
CIE-LCHlch(6.16, 26.81, 298.39°)
OKLaboklab(19.51% 0.0095 -0.0686)
OKLCHoklch(19.51% 0.069 277.8)
XYZxyz(0.9652, 0.6822, 3.2121)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F33 #33330F
analogous
#0F2133 #0F0F33 #210F33
triadic
#0F0F33 #330F0F #0F330F
tetradic
#0F0F33 #330F21 #33330F #0F3321
square
#0F0F33 #330F21 #33330F #0F3321
split-complementary
#0F0F33 #33210F #21330F
monochromatic
#070718 #070718 #0F0F33 #1D1D62 #2B2B92

Accessibility & contrast

On white

18.48
#0F0F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0F0F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F33
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F33#FFFFFF#000000##FFFFFF
##0F0F331.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#00181F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0f33;
/* rgb */ color: rgb(15, 15, 51);
/* oklch */ color: oklch(19.5% 0.069 277.8);
Tailwind
colors: {
  custom: {
    50: '#524d6b',
    500: '#0f0f33',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f33;
$custom-light: #524d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f33",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 240,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.1951,
    "c": 0.06923,
    "h": 277.8
  },
  "luminance": 0.00682
}

Semantic roles & 50–950 ramp

primary
#0F0F33
secondary
#6D6D31
accent
#DE4ADE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0F33

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

Preview Lab → · Contrast checker → · Palette generator →

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