#0F0D54#0F0D54

#0F0D54 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 23.0% C 0.121 H 272.6°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#0F0D54
RGBrgb(15, 13, 84)
HSLhsl(242, 73%, 19%)
HSVhsv(242, 85%, 33%)
CMYKcmyk(82.1%, 84.5%, 0%, 67.1%)
CIE-LABlab(9.23, 27.89, -41.91)
CIE-LCHlch(9.23, 50.35, 303.65°)
OKLaboklab(22.96% 0.0055 -0.1213)
OKLCHoklch(22.96% 0.121 272.6)
XYZxyz(1.9406, 1.0293, 8.4822)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D54 #52540D
analogous
#0D2F54 #0F0D54 #330D54
triadic
#0F0D54 #540F0D #0D540F
tetradic
#0F0D54 #540D2F #52540D #0D5433
square
#0F0D54 #540D2F #52540D #0D5433
split-complementary
#0F0D54 #54330D #2F540D
monochromatic
#05041A #06051F #0F0D54 #181589 #221DBE

Accessibility & contrast

On white

17.42
#0F0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F0D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D54
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D54#FFFFFF#000000##FFFFFF
##0F0D541.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D56
Deuteranopia (green-blind)
#001653
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f0d54;
/* rgb */ color: rgb(15, 13, 84);
/* oklch */ color: oklch(23.0% 0.121 272.6);
Tailwind
colors: {
  custom: {
    50: '#5c4d85',
    500: '#0f0d54',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d54;
$custom-light: #5c4d85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d54",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 241.69,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2296,
    "c": 0.12142,
    "h": 272.6
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#0F0D54
secondary
#8C8F2E
accent
#F038EB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0F0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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