#0F0835#0F0835

#0F0835 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.083 H 281.6°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#0F0835
RGBrgb(15, 8, 53)
HSLhsl(249, 74%, 12%)
HSVhsv(249, 85%, 21%)
CMYKcmyk(71.7%, 84.9%, 0%, 79.2%)
CIE-LABlab(4.81, 17.11, -27.24)
CIE-LCHlch(4.81, 32.17, 302.14°)
OKLaboklab(18.31% 0.0167 -0.0813)
OKLCHoklch(18.31% 0.083 281.6)
XYZxyz(0.9262, 0.5322, 3.4214)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0835 #2E3508
analogous
#081835 #0F0835 #260835
triadic
#0F0835 #350F08 #08350F
tetradic
#0F0835 #350818 #2E3508 #083526
square
#0F0835 #350818 #2E3508 #083526
split-complementary
#0F0835 #352608 #183508
monochromatic
#08041B #08041B #0F0835 #1E106A #2D189F

Accessibility & contrast

On white

18.98
#0F0835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0835
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0835#FFFFFF#000000##FFFFFF
##0F08351.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#000F34
Tritanopia (blue-blind)
#00141D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0835;
/* rgb */ color: rgb(15, 8, 53);
/* oklch */ color: oklch(18.3% 0.083 281.6);
Tailwind
colors: {
  custom: {
    50: '#52496d',
    500: '#0f0835',
    950: '#000000',
  },
}
SCSS
$custom: #0f0835;
$custom-light: #52496d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0835",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 249.333,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18309,
    "c": 0.08298,
    "h": 281.6
  },
  "luminance": 0.00532
}

Semantic roles & 50–950 ramp

primary
#0F0835
secondary
#687425
accent
#F037D4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0F0835

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

Preview Lab → · Contrast checker → · Palette generator →

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