#0F0D30#0F0D30

#0F0D30 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.067 H 280.3°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#0F0D30
RGBrgb(15, 13, 48)
HSLhsl(243, 57%, 12%)
HSVhsv(243, 73%, 19%)
CMYKcmyk(68.7%, 72.9%, 0%, 81.2%)
CIE-LABlab(5.44, 12.33, -22.52)
CIE-LCHlch(5.44, 25.68, 298.70°)
OKLaboklab(18.77% 0.012 -0.0663)
OKLCHoklch(18.77% 0.067 280.3)
XYZxyz(0.8743, 0.6027, 2.8660)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D30 #2E300D
analogous
#0D1D30 #0F0D30 #210D30
triadic
#0F0D30 #300F0D #0D300F
tetradic
#0F0D30 #300D1D #2E300D #0D3021
square
#0F0D30 #300D1D #2E300D #0D3021
split-complementary
#0F0D30 #30210D #1D300D
monochromatic
#080718 #080718 #0F0D30 #1E1A60 #2D2790

Accessibility & contrast

On white

18.74
#0F0D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0F0D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D30
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D30#FFFFFF#000000##FFFFFF
##0F0D301.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#01151C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f0d30;
/* rgb */ color: rgb(15, 13, 48);
/* oklch */ color: oklch(18.8% 0.067 280.3);
Tailwind
colors: {
  custom: {
    50: '#514c68',
    500: '#0f0d30',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d30;
$custom-light: #514c68;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d30",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 48
  },
  "hsl": {
    "h": 243.429,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18765,
    "c": 0.06741,
    "h": 280.3
  },
  "luminance": 0.00603
}

Semantic roles & 50–950 ramp

primary
#0F0D30
secondary
#686B2E
accent
#E147D8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F0D30

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

Preview Lab → · Contrast checker → · Palette generator →

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