#0F0D41#0F0D41

#0F0D41 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.094 H 275.9°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#0F0D41
RGBrgb(15, 13, 65)
HSLhsl(242, 67%, 15%)
HSVhsv(242, 80%, 25%)
CMYKcmyk(76.9%, 80%, 0%, 74.5%)
CIE-LABlab(6.96, 20.43, -32.41)
CIE-LCHlch(6.96, 38.31, 302.23°)
OKLaboklab(20.63% 0.0097 -0.0939)
OKLCHoklch(20.63% 0.094 275.9)
XYZxyz(1.2947, 0.7709, 5.0806)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D41 #3F410D
analogous
#0D2541 #0F0D41 #290D41
triadic
#0F0D41 #410F0D #0D410F
tetradic
#0F0D41 #410D25 #3F410D #0D4129
square
#0F0D41 #410D25 #3F410D #0D4129
split-complementary
#0F0D41 #41290D #25410D
monochromatic
#06051A #06051A #0F0D41 #1B1774 #2721A7

Accessibility & contrast

On white

18.19
#0F0D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D41
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D41#FFFFFF#000000##FFFFFF
##0F0D411.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f0d41;
/* rgb */ color: rgb(15, 13, 65);
/* oklch */ color: oklch(20.6% 0.094 275.9);
Tailwind
colors: {
  custom: {
    50: '#564c76',
    500: '#0f0d41',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d41;
$custom-light: #564c76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d41",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 242.308,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20629,
    "c": 0.09437,
    "h": 275.9
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#0F0D41
secondary
#797D2D
accent
#EA3EE3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0D41

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

Preview Lab → · Contrast checker → · Palette generator →

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