#0F0D4E#0F0D4E

#0F0D4E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.2% C 0.113 H 273.5°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#0F0D4E
RGBrgb(15, 13, 78)
HSLhsl(242, 71%, 18%)
HSVhsv(242, 83%, 31%)
CMYKcmyk(80.8%, 83.3%, 0%, 69.4%)
CIE-LABlab(8.48, 25.66, -39.04)
CIE-LCHlch(8.48, 46.72, 303.32°)
OKLaboklab(22.2% 0.0069 -0.1129)
OKLCHoklch(22.2% 0.113 273.5)
XYZxyz(1.7156, 0.9393, 7.2971)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D4E #4C4E0D
analogous
#0D2B4E #0F0D4E #2F0D4E
triadic
#0F0D4E #4E0F0D #0D4E0F
tetradic
#0F0D4E #4E0D2B #4C4E0D #0D4E2F
square
#0F0D4E #4E0D2B #4C4E0D #0D4E2F
split-complementary
#0F0D4E #4E2F0D #2B4E0D
monochromatic
#05041A #05041A #0F0D4E #191682 #231EB7

Accessibility & contrast

On white

17.68
#0F0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D4E
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D4E#FFFFFF#000000##FFFFFF
##0F0D4E1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B50
Deuteranopia (green-blind)
#00154D
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f0d4e;
/* rgb */ color: rgb(15, 13, 78);
/* oklch */ color: oklch(22.2% 0.113 273.5);
Tailwind
colors: {
  custom: {
    50: '#5a4c80',
    500: '#0f0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d4e;
$custom-light: #5a4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d4e",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 241.846,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22204,
    "c": 0.11316,
    "h": 273.5
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#0F0D4E
secondary
#86892E
accent
#EE3AE9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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