#0F0D3A#0F0D3A

#0F0D3A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.084 H 277.5°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#0F0D3A
RGBrgb(15, 13, 58)
HSLhsl(243, 63%, 14%)
HSVhsv(243, 78%, 23%)
CMYKcmyk(74.1%, 77.6%, 0%, 77.3%)
CIE-LABlab(6.28, 17.23, -28.51)
CIE-LCHlch(6.28, 33.31, 301.15°)
OKLaboklab(19.83% 0.0109 -0.0829)
OKLCHoklch(19.83% 0.084 277.5)
XYZxyz(1.1044, 0.6948, 4.0781)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D3A #383A0D
analogous
#0D223A #0F0D3A #260D3A
triadic
#0F0D3A #3A0F0D #0D3A0F
tetradic
#0F0D3A #3A0D22 #383A0D #0D3A26
square
#0F0D3A #3A0D22 #383A0D #0D3A26
split-complementary
#0F0D3A #3A260D #223A0D
monochromatic
#060619 #060619 #0F0D3A #1C186C #29239E

Accessibility & contrast

On white

18.44
#0F0D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0F0D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D3A
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D3A#FFFFFF#000000##FFFFFF
##0F0D3A1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#001922
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0d3a;
/* rgb */ color: rgb(15, 13, 58);
/* oklch */ color: oklch(19.8% 0.084 277.5);
Tailwind
colors: {
  custom: {
    50: '#544c71',
    500: '#0f0d3a',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d3a;
$custom-light: #544c71;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d3a",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 242.667,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.1983,
    "c": 0.08365,
    "h": 277.5
  },
  "luminance": 0.00695
}

Semantic roles & 50–950 ramp

primary
#0F0D3A
secondary
#72762D
accent
#E641DF
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0F0D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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