#0F0D4B#0F0D4B

#0F0D4B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.109 H 274.0°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#0F0D4B
RGBrgb(15, 13, 75)
HSLhsl(242, 70%, 17%)
HSVhsv(242, 83%, 29%)
CMYKcmyk(80%, 82.7%, 0%, 70.6%)
CIE-LABlab(8.10, 24.53, -37.57)
CIE-LCHlch(8.10, 44.87, 303.14°)
OKLaboklab(21.83% 0.0076 -0.1087)
OKLCHoklch(21.83% 0.109 274)
XYZxyz(1.6105, 0.8972, 6.7436)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D4B #494B0D
analogous
#0D2A4B #0F0D4B #2E0D4B
triadic
#0F0D4B #4B0F0D #0D4B0F
tetradic
#0F0D4B #4B0D2A #494B0D #0D4B2E
square
#0F0D4B #4B0D2A #494B0D #0D4B2E
split-complementary
#0F0D4B #4B2E0D #2A4B0D
monochromatic
#05051A #05051A #0F0D4B #19167F #241FB3

Accessibility & contrast

On white

17.81
#0F0D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D4B
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D4B#FFFFFF#000000##FFFFFF
##0F0D4B1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4D
Deuteranopia (green-blind)
#00154A
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f0d4b;
/* rgb */ color: rgb(15, 13, 75);
/* oklch */ color: oklch(21.8% 0.109 274.0);
Tailwind
colors: {
  custom: {
    50: '#594c7e',
    500: '#0f0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d4b;
$custom-light: #594c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d4b",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 241.935,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.21832,
    "c": 0.10894,
    "h": 274
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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