#0F0D48#0F0D48

#0F0D48 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.105 H 274.5°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#0F0D48
RGBrgb(15, 13, 72)
HSLhsl(242, 69%, 17%)
HSVhsv(242, 82%, 28%)
CMYKcmyk(79.2%, 81.9%, 0%, 71.8%)
CIE-LABlab(7.74, 23.36, -36.07)
CIE-LCHlch(7.74, 42.98, 302.93°)
OKLaboklab(21.47% 0.0083 -0.1043)
OKLCHoklch(21.47% 0.105 274.5)
XYZxyz(1.5102, 0.8571, 6.2155)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D48 #46480D
analogous
#0D2948 #0F0D48 #2D0D48
triadic
#0F0D48 #480F0D #0D480F
tetradic
#0F0D48 #480D29 #46480D #0D482D
square
#0F0D48 #480D29 #46480D #0D482D
split-complementary
#0F0D48 #482D0D #29480D
monochromatic
#05051A #05051A #0F0D48 #1A167C #2520B0

Accessibility & contrast

On white

17.93
#0F0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D48
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D48#FFFFFF#000000##FFFFFF
##0F0D481.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001447
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0d48;
/* rgb */ color: rgb(15, 13, 72);
/* oklch */ color: oklch(21.5% 0.105 274.5);
Tailwind
colors: {
  custom: {
    50: '#584c7c',
    500: '#0f0d48',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d48;
$custom-light: #584c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d48",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 242.034,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21465,
    "c": 0.10466,
    "h": 274.5
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#0F0D48
secondary
#80832D
accent
#EC3CE6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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