#0F0849#0F0849

#0F0849 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.111 H 275.5°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#0F0849
RGBrgb(15, 8, 73)
HSLhsl(246, 80%, 16%)
HSVhsv(246, 89%, 29%)
CMYKcmyk(79.5%, 89%, 0%, 71.4%)
CIE-LABlab(6.83, 26.62, -38.28)
CIE-LCHlch(6.83, 46.62, 304.82°)
OKLaboklab(20.82% 0.0108 -0.111)
OKLCHoklch(20.82% 0.111 275.5)
XYZxyz(1.4860, 0.7561, 6.3697)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0849 #424908
analogous
#082149 #0F0849 #2F0849
triadic
#0F0849 #490F08 #08490F
tetradic
#0F0849 #490821 #424908 #08492F
square
#0F0849 #490821 #424908 #08492F
split-complementary
#0F0849 #492F08 #214908
monochromatic
#06031C #06031C #0F0849 #1A0E80 #2614B7

Accessibility & contrast

On white

18.24
#0F0849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0F0849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0849
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0849#FFFFFF#000000##FFFFFF
##0F08491.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184B
Deuteranopia (green-blind)
#001248
Tritanopia (blue-blind)
#001C29
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f0849;
/* rgb */ color: rgb(15, 8, 73);
/* oklch */ color: oklch(20.8% 0.111 275.5);
Tailwind
colors: {
  custom: {
    50: '#59497d',
    500: '#0f0849',
    950: '#000000',
  },
}
SCSS
$custom: #0f0849;
$custom-light: #59497d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0849",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 246.462,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2082,
    "c": 0.11149,
    "h": 275.5
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#0F0849
secondary
#7C8726
accent
#F731E1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0849

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

Preview Lab → · Contrast checker → · Palette generator →

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