#0F0F41#0F0F41

#0F0F41 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.092 H 275.1°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#0F0F41
RGBrgb(15, 15, 65)
HSLhsl(240, 63%, 16%)
HSVhsv(240, 77%, 25%)
CMYKcmyk(76.9%, 76.9%, 0%, 74.5%)
CIE-LABlab(7.45, 19.16, -31.61)
CIE-LCHlch(7.45, 36.97, 301.21°)
OKLaboklab(21% 0.0081 -0.0914)
OKLCHoklch(21% 0.092 275.1)
XYZxyz(1.3216, 0.8247, 5.0895)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F41 #41410F
analogous
#0F2841 #0F0F41 #280F41
triadic
#0F0F41 #410F0F #0F410F
tetradic
#0F0F41 #410F28 #41410F #0F4128
square
#0F0F41 #410F28 #41410F #0F4128
split-complementary
#0F0F41 #41280F #28410F
monochromatic
#060619 #060619 #0F0F41 #1A1A73 #2626A4

Accessibility & contrast

On white

18.03
#0F0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0F0F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F41
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F41#FFFFFF#000000##FFFFFF
##0F0F411.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0f41;
/* rgb */ color: rgb(15, 15, 65);
/* oklch */ color: oklch(21.0% 0.092 275.1);
Tailwind
colors: {
  custom: {
    50: '#564d76',
    500: '#0f0f41',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f41;
$custom-light: #564d76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f41",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 240,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21004,
    "c": 0.09173,
    "h": 275.1
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#0F0F41
secondary
#7B7B30
accent
#E642E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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