#0F0B41#0F0B41

#0F0B41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.3% C 0.097 H 276.6°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#0F0B41
RGBrgb(15, 11, 65)
HSLhsl(244, 71%, 15%)
HSVhsv(244, 83%, 25%)
CMYKcmyk(76.9%, 83.1%, 0%, 74.5%)
CIE-LABlab(6.53, 21.57, -33.13)
CIE-LCHlch(6.53, 39.53, 303.07°)
OKLaboklab(20.28% 0.0112 -0.0962)
OKLCHoklch(20.28% 0.097 276.6)
XYZxyz(1.2705, 0.7224, 5.0725)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B41 #3D410B
analogous
#0B2241 #0F0B41 #2A0B41
triadic
#0F0B41 #410F0B #0B410F
tetradic
#0F0B41 #410B22 #3D410B #0B412A
square
#0F0B41 #410B22 #3D410B #0B412A
split-complementary
#0F0B41 #412A0B #22410B
monochromatic
#06041A #06041A #0F0B41 #1B1475 #271DAA

Accessibility & contrast

On white

18.35
#0F0B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0B41
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B41#FFFFFF#000000##FFFFFF
##0F0B411.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0b41;
/* rgb */ color: rgb(15, 11, 65);
/* oklch */ color: oklch(20.3% 0.097 276.6);
Tailwind
colors: {
  custom: {
    50: '#564b76',
    500: '#0f0b41',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b41;
$custom-light: #564b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b41",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 244.444,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20279,
    "c": 0.09687,
    "h": 276.6
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#0F0B41
secondary
#777E2A
accent
#EE3AE0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0B41

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

Preview Lab → · Contrast checker → · Palette generator →

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