#0F0D3D#0F0D3D

#0F0D3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.088 H 276.8°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#0F0D3D
RGBrgb(15, 13, 61)
HSLhsl(243, 65%, 15%)
HSVhsv(243, 79%, 24%)
CMYKcmyk(75.4%, 78.7%, 0%, 76.1%)
CIE-LABlab(6.56, 18.63, -30.21)
CIE-LCHlch(6.56, 35.49, 301.67°)
OKLaboklab(20.17% 0.0105 -0.0877)
OKLCHoklch(20.17% 0.088 276.8)
XYZxyz(1.1830, 0.7262, 4.4918)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D3D #3B3D0D
analogous
#0D233D #0F0D3D #270D3D
triadic
#0F0D3D #3D0F0D #0D3D0F
tetradic
#0F0D3D #3D0D23 #3B3D0D #0D3D27
square
#0F0D3D #3D0D23 #3B3D0D #0D3D27
split-complementary
#0F0D3D #3D270D #233D0D
monochromatic
#060519 #060519 #0F0D3D #1B186F #2823A2

Accessibility & contrast

On white

18.34
#0F0D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0F0D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D3D
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D3D#FFFFFF#000000##FFFFFF
##0F0D3D1.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00123C
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f0d3d;
/* rgb */ color: rgb(15, 13, 61);
/* oklch */ color: oklch(20.2% 0.088 276.8);
Tailwind
colors: {
  custom: {
    50: '#554c73',
    500: '#0f0d3d',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d3d;
$custom-light: #554c73;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d3d",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 242.5,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20168,
    "c": 0.0883,
    "h": 276.8
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#0F0D3D
secondary
#75792D
accent
#E840E1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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