#0F0D4C#0F0D4C

#0F0D4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.110 H 273.8°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#0F0D4C
RGBrgb(15, 13, 76)
HSLhsl(242, 71%, 17%)
HSVhsv(242, 83%, 30%)
CMYKcmyk(80.3%, 82.9%, 0%, 70.2%)
CIE-LABlab(8.23, 24.91, -38.06)
CIE-LCHlch(8.23, 45.49, 303.20°)
OKLaboklab(21.96% 0.0074 -0.1101)
OKLCHoklch(21.96% 0.11 273.8)
XYZxyz(1.6450, 0.9110, 6.9252)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D4C #4A4C0D
analogous
#0D2A4C #0F0D4C #2F0D4C
triadic
#0F0D4C #4C0F0D #0D4C0F
tetradic
#0F0D4C #4C0D2A #4A4C0D #0D4C2F
square
#0F0D4C #4C0D2A #4A4C0D #0D4C2F
split-complementary
#0F0D4C #4C2F0D #2A4C0D
monochromatic
#05041A #05041A #0F0D4C #191680 #241FB5

Accessibility & contrast

On white

17.76
#0F0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D4C
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D4C#FFFFFF#000000##FFFFFF
##0F0D4C1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00154B
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f0d4c;
/* rgb */ color: rgb(15, 13, 76);
/* oklch */ color: oklch(22.0% 0.110 273.8);
Tailwind
colors: {
  custom: {
    50: '#594c7f',
    500: '#0f0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d4c;
$custom-light: #594c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d4c",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 241.905,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.21955,
    "c": 0.11036,
    "h": 273.8
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#0F0D4C
secondary
#84872E
accent
#EE3AE8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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