#0F0D50#0F0D50

#0F0D50 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.116 H 273.2°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#0F0D50
RGBrgb(15, 13, 80)
HSLhsl(242, 72%, 18%)
HSVhsv(242, 84%, 31%)
CMYKcmyk(81.3%, 83.7%, 0%, 68.6%)
CIE-LABlab(8.73, 26.41, -40.01)
CIE-LCHlch(8.73, 47.94, 303.43°)
OKLaboklab(22.45% 0.0064 -0.1158)
OKLCHoklch(22.45% 0.116 273.2)
XYZxyz(1.7884, 0.9684, 7.6805)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D50 #4E500D
analogous
#0D2C50 #0F0D50 #300D50
triadic
#0F0D50 #500F0D #0D500F
tetradic
#0F0D50 #500D2C #4E500D #0D5030
square
#0F0D50 #500D2C #4E500D #0D5030
split-complementary
#0F0D50 #50300D #2C500D
monochromatic
#05041A #05041B #0F0D50 #191685 #231EB9

Accessibility & contrast

On white

17.59
#0F0D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F0D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D50
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D50#FFFFFF#000000##FFFFFF
##0F0D501.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C52
Deuteranopia (green-blind)
#00164F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f0d50;
/* rgb */ color: rgb(15, 13, 80);
/* oklch */ color: oklch(22.5% 0.116 273.2);
Tailwind
colors: {
  custom: {
    50: '#5b4d82',
    500: '#0f0d50',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d50;
$custom-light: #5b4d82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d50",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 241.791,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22454,
    "c": 0.11594,
    "h": 273.2
  },
  "luminance": 0.00969
}

Semantic roles & 50–950 ramp

primary
#0F0D50
secondary
#888B2E
accent
#EF39E9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0D50

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

Preview Lab → · Contrast checker → · Palette generator →

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