#0F0C41#0F0C41

#0F0C41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.096 H 276.3°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#0F0C41
RGBrgb(15, 12, 65)
HSLhsl(243, 69%, 15%)
HSVhsv(243, 82%, 25%)
CMYKcmyk(76.9%, 81.5%, 0%, 74.5%)
CIE-LABlab(6.74, 21.02, -32.78)
CIE-LCHlch(6.74, 38.94, 302.67°)
OKLaboklab(20.45% 0.0105 -0.0951)
OKLCHoklch(20.45% 0.096 276.3)
XYZxyz(1.2823, 0.7460, 5.0764)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0C41 #3E410C
analogous
#0C2441 #0F0C41 #290C41
triadic
#0F0C41 #410F0C #0C410F
tetradic
#0F0C41 #410C24 #3E410C #0C4129
square
#0F0C41 #410C24 #3E410C #0C4129
split-complementary
#0F0C41 #41290C #24410C
monochromatic
#06051A #06051A #0F0C41 #1B1675 #271FA8

Accessibility & contrast

On white

18.27
#0F0C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0C41
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0C41#FFFFFF#000000##FFFFFF
##0F0C411.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0c41;
/* rgb */ color: rgb(15, 12, 65);
/* oklch */ color: oklch(20.5% 0.096 276.3);
Tailwind
colors: {
  custom: {
    50: '#564b76',
    500: '#0f0c41',
    950: '#000000',
  },
}
SCSS
$custom: #0f0c41;
$custom-light: #564b76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0c41",
  "rgb": {
    "r": 15,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 243.396,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20451,
    "c": 0.09565,
    "h": 276.3
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#0F0C41
secondary
#787D2C
accent
#EC3CE2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0C41

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

Preview Lab → · Contrast checker → · Palette generator →

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