#0F0A41#0F0A41

#0F0A41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.098 H 277.0°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#0F0A41
RGBrgb(15, 10, 65)
HSLhsl(245, 73%, 15%)
HSVhsv(245, 85%, 25%)
CMYKcmyk(76.9%, 84.6%, 0%, 74.5%)
CIE-LABlab(6.32, 22.09, -33.46)
CIE-LCHlch(6.32, 40.09, 303.43°)
OKLaboklab(20.11% 0.0119 -0.0973)
OKLCHoklch(20.11% 0.098 277)
XYZxyz(1.2594, 0.7002, 5.0688)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0A41 #3C410A
analogous
#0A2041 #0F0A41 #2B0A41
triadic
#0F0A41 #410F0A #0A410F
tetradic
#0F0A41 #410A20 #3C410A #0A412B
square
#0F0A41 #410A20 #3C410A #0A412B
split-complementary
#0F0A41 #412B0A #20410A
monochromatic
#06041B #06041B #0F0A41 #1B1276 #271AAB

Accessibility & contrast

On white

18.42
#0F0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0A41
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0A41#FFFFFF#000000##FFFFFF
##0F0A411.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0a41;
/* rgb */ color: rgb(15, 10, 65);
/* oklch */ color: oklch(20.1% 0.098 277.0);
Tailwind
colors: {
  custom: {
    50: '#564a76',
    500: '#0f0a41',
    950: '#000000',
  },
}
SCSS
$custom: #0f0a41;
$custom-light: #564a76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0a41",
  "rgb": {
    "r": 15,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 245.455,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20115,
    "c": 0.09805,
    "h": 277
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#0F0A41
secondary
#767E29
accent
#F038DF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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