#0F0834#0F0834

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

Color values

HEX#0F0834
RGBrgb(15, 8, 52)
HSLhsl(250, 73%, 12%)
HSVhsv(250, 85%, 20%)
CMYKcmyk(71.2%, 84.6%, 0%, 79.6%)
CIE-LABlab(4.73, 16.58, -26.63)
CIE-LCHlch(4.73, 31.37, 301.91°)
OKLaboklab(18.19% 0.017 -0.0797)
OKLCHoklch(18.19% 0.081 282)
XYZxyz(0.9035, 0.5231, 3.3015)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0834 #2D3408
analogous
#081734 #0F0834 #250834
triadic
#0F0834 #340F08 #08340F
tetradic
#0F0834 #340817 #2D3408 #083425
square
#0F0834 #340817 #2D3408 #083425
split-complementary
#0F0834 #342508 #173408
monochromatic
#08041B #08041B #0F0834 #1E1069 #2E189E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F0834#FFFFFF#000000##FFFFFF
##0F08341.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)
#001235
Deuteranopia (green-blind)
#000F33
Tritanopia (blue-blind)
#00141D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0f0834;
/* rgb */ color: rgb(15, 8, 52);
/* oklch */ color: oklch(18.2% 0.081 282.0);
Tailwind
colors: {
  custom: {
    50: '#52496c',
    500: '#0f0834',
    950: '#000000',
  },
}
SCSS
$custom: #0f0834;
$custom-light: #52496c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0834",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 249.545,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.18191,
    "c": 0.08147,
    "h": 282
  },
  "luminance": 0.00523
}

Semantic roles & 50–950 ramp

primary
#0F0834
secondary
#667325
accent
#F038D3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0F0834

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

Preview Lab → · Contrast checker → · Palette generator →

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