#0F0836#0F0836

#0F0836 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.084 H 281.2°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#0F0836
RGBrgb(15, 8, 54)
HSLhsl(249, 74%, 12%)
HSVhsv(249, 85%, 21%)
CMYKcmyk(72.2%, 85.2%, 0%, 78.8%)
CIE-LABlab(4.89, 17.64, -27.84)
CIE-LCHlch(4.89, 32.95, 302.36°)
OKLaboklab(18.43% 0.0164 -0.0829)
OKLCHoklch(18.43% 0.084 281.2)
XYZxyz(0.9495, 0.5415, 3.5438)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0836 #2F3608
analogous
#081836 #0F0836 #260836
triadic
#0F0836 #360F08 #08360F
tetradic
#0F0836 #360818 #2F3608 #083626
square
#0F0836 #360818 #2F3608 #083626
split-complementary
#0F0836 #362608 #183608
monochromatic
#07041B #07041B #0F0836 #1E106B #2D18A1

Accessibility & contrast

On white

18.95
#0F0836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0F0836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0836
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0836#FFFFFF#000000##FFFFFF
##0F08361.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#000F35
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0836;
/* rgb */ color: rgb(15, 8, 54);
/* oklch */ color: oklch(18.4% 0.084 281.2);
Tailwind
colors: {
  custom: {
    50: '#52496d',
    500: '#0f0836',
    950: '#000000',
  },
}
SCSS
$custom: #0f0836;
$custom-light: #52496d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0836",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 249.13,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.18428,
    "c": 0.08448,
    "h": 281.2
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#0F0836
secondary
#697525
accent
#F137D5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #0F0836

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

Preview Lab → · Contrast checker → · Palette generator →

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