#0F0D49#0F0D49

#0F0D49 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.106 H 274.3°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#0F0D49
RGBrgb(15, 13, 73)
HSLhsl(242, 70%, 17%)
HSVhsv(242, 82%, 29%)
CMYKcmyk(79.5%, 82.2%, 0%, 71.4%)
CIE-LABlab(7.86, 23.76, -36.58)
CIE-LCHlch(7.86, 43.61, 303.00°)
OKLaboklab(21.59% 0.008 -0.1058)
OKLCHoklch(21.59% 0.106 274.3)
XYZxyz(1.5431, 0.8703, 6.3887)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D49 #47490D
analogous
#0D2949 #0F0D49 #2D0D49
triadic
#0F0D49 #490F0D #0D490F
tetradic
#0F0D49 #490D29 #47490D #0D492D
square
#0F0D49 #490D29 #47490D #0D492D
split-complementary
#0F0D49 #492D0D #29490D
monochromatic
#05051A #05051A #0F0D49 #1A167D #2420B1

Accessibility & contrast

On white

17.89
#0F0D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D49
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D49#FFFFFF#000000##FFFFFF
##0F0D491.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4B
Deuteranopia (green-blind)
#001448
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0d49;
/* rgb */ color: rgb(15, 13, 73);
/* oklch */ color: oklch(21.6% 0.106 274.3);
Tailwind
colors: {
  custom: {
    50: '#584c7d',
    500: '#0f0d49',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d49;
$custom-light: #584c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d49",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 242,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21587,
    "c": 0.1061,
    "h": 274.3
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#0F0D49
secondary
#81842D
accent
#ED3BE7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0D49

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

Preview Lab → · Contrast checker → · Palette generator →

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