#0F0D4A#0F0D4A

#0F0D4A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.108 H 274.2°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#0F0D4A
RGBrgb(15, 13, 74)
HSLhsl(242, 70%, 17%)
HSVhsv(242, 82%, 29%)
CMYKcmyk(79.7%, 82.4%, 0%, 71%)
CIE-LABlab(7.98, 24.14, -37.07)
CIE-LCHlch(7.98, 44.24, 303.07°)
OKLaboklab(21.71% 0.0078 -0.1072)
OKLCHoklch(21.71% 0.108 274.2)
XYZxyz(1.5765, 0.8837, 6.5647)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D4A #484A0D
analogous
#0D2A4A #0F0D4A #2E0D4A
triadic
#0F0D4A #4A0F0D #0D4A0F
tetradic
#0F0D4A #4A0D2A #484A0D #0D4A2E
square
#0F0D4A #4A0D2A #484A0D #0D4A2E
split-complementary
#0F0D4A #4A2E0D #2A4A0D
monochromatic
#05051A #05051A #0F0D4A #1A167E #241FB2

Accessibility & contrast

On white

17.85
#0F0D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0F0D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D4A
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D4A#FFFFFF#000000##FFFFFF
##0F0D4A1.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001549
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f0d4a;
/* rgb */ color: rgb(15, 13, 74);
/* oklch */ color: oklch(21.7% 0.108 274.2);
Tailwind
colors: {
  custom: {
    50: '#594c7d',
    500: '#0f0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d4a;
$custom-light: #594c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d4a",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 241.967,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.21709,
    "c": 0.10752,
    "h": 274.2
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#0F0D4A
secondary
#82852E
accent
#ED3BE7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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