#0F0943#0F0943

#0F0943 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.102 H 276.7°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#0F0943
RGBrgb(15, 9, 67)
HSLhsl(246, 76%, 15%)
HSVhsv(246, 87%, 26%)
CMYKcmyk(77.6%, 86.6%, 0%, 73.7%)
CIE-LABlab(6.34, 23.50, -34.85)
CIE-LCHlch(6.34, 42.03, 304.00°)
OKLaboklab(20.2% 0.012 -0.1014)
OKLCHoklch(20.2% 0.102 276.7)
XYZxyz(1.3075, 0.7021, 5.3757)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0943 #3D4309
analogous
#092043 #0F0943 #2C0943
triadic
#0F0943 #430F09 #09430F
tetradic
#0F0943 #430920 #3D4309 #09432C
square
#0F0943 #430920 #3D4309 #09432C
split-complementary
#0F0943 #432C09 #204309
monochromatic
#06041B #06041B #0F0943 #1B1079 #2717AF

Accessibility & contrast

On white

18.41
#0F0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0943
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0943#FFFFFF#000000##FFFFFF
##0F09431.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0943;
/* rgb */ color: rgb(15, 9, 67);
/* oklch */ color: oklch(20.2% 0.102 276.7);
Tailwind
colors: {
  custom: {
    50: '#574a78',
    500: '#0f0943',
    950: '#000000',
  },
}
SCSS
$custom: #0f0943;
$custom-light: #574a78;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0943",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 246.207,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20203,
    "c": 0.10208,
    "h": 276.7
  },
  "luminance": 0.00702
}

Semantic roles & 50–950 ramp

primary
#0F0943
secondary
#778127
accent
#F335DF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0943

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

Preview Lab → · Contrast checker → · Palette generator →

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