#0F0D46#0F0D46

#0F0D46 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.2% C 0.102 H 274.9°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#0F0D46
RGBrgb(15, 13, 70)
HSLhsl(242, 69%, 16%)
HSVhsv(242, 81%, 27%)
CMYKcmyk(78.6%, 81.4%, 0%, 72.5%)
CIE-LABlab(7.51, 22.56, -35.05)
CIE-LCHlch(7.51, 41.68, 302.76°)
OKLaboklab(21.22% 0.0087 -0.1014)
OKLCHoklch(21.22% 0.102 274.9)
XYZxyz(1.4461, 0.8315, 5.8774)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D46 #44460D
analogous
#0D2846 #0F0D46 #2C0D46
triadic
#0F0D46 #460F0D #0D460F
tetradic
#0F0D46 #460D28 #44460D #0D462C
square
#0F0D46 #460D28 #44460D #0D462C
split-complementary
#0F0D46 #462C0D #28460D
monochromatic
#06051A #06051A #0F0D46 #1A177A #2520AD

Accessibility & contrast

On white

18.00
#0F0D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0F0D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D46
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D46#FFFFFF#000000##FFFFFF
##0F0D461.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0d46;
/* rgb */ color: rgb(15, 13, 70);
/* oklch */ color: oklch(21.2% 0.102 274.9);
Tailwind
colors: {
  custom: {
    50: '#584c7a',
    500: '#0f0d46',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d46;
$custom-light: #584c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d46",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 242.105,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21223,
    "c": 0.10176,
    "h": 274.9
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#0F0D46
secondary
#7E812D
accent
#EC3CE5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0D46

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

Preview Lab → · Contrast checker → · Palette generator →

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