#0F0843#0F0843

#0F0843 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.103 H 277.0°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#0F0843
RGBrgb(15, 8, 67)
HSLhsl(247, 79%, 15%)
HSVhsv(247, 88%, 26%)
CMYKcmyk(77.6%, 88.1%, 0%, 73.7%)
CIE-LABlab(6.15, 24.01, -35.17)
CIE-LCHlch(6.15, 42.59, 304.32°)
OKLaboklab(20.04% 0.0126 -0.1025)
OKLCHoklch(20.04% 0.103 277)
XYZxyz(1.2966, 0.6804, 5.3721)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0843 #3C4308
analogous
#081E43 #0F0843 #2D0843
triadic
#0F0843 #430F08 #08430F
tetradic
#0F0843 #43081E #3C4308 #08432D
square
#0F0843 #43081E #3C4308 #08432D
split-complementary
#0F0843 #432D08 #1E4308
monochromatic
#06031B #06031B #0F0843 #1B0F7A #2715B0

Accessibility & contrast

On white

18.49
#0F0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0843
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0843#FFFFFF#000000##FFFFFF
##0F08431.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001645
Deuteranopia (green-blind)
#001142
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0843;
/* rgb */ color: rgb(15, 8, 67);
/* oklch */ color: oklch(20.0% 0.103 277.0);
Tailwind
colors: {
  custom: {
    50: '#574978',
    500: '#0f0843',
    950: '#000000',
  },
}
SCSS
$custom: #0f0843;
$custom-light: #574978;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0843",
  "rgb": {
    "r": 15,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 247.119,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20041,
    "c": 0.10325,
    "h": 277
  },
  "luminance": 0.0068
}

Semantic roles & 50–950 ramp

primary
#0F0843
secondary
#768125
accent
#F533DE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0843

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

Preview Lab → · Contrast checker → · Palette generator →

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