#0F0A42#0F0A42

#0F0A42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.100 H 276.7°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#0F0A42
RGBrgb(15, 10, 66)
HSLhsl(245, 74%, 15%)
HSVhsv(245, 85%, 26%)
CMYKcmyk(77.3%, 84.8%, 0%, 74.1%)
CIE-LABlab(6.43, 22.54, -33.99)
CIE-LCHlch(6.43, 40.79, 303.55°)
OKLaboklab(20.24% 0.0116 -0.0988)
OKLCHoklch(20.24% 0.1 276.7)
XYZxyz(1.2886, 0.7119, 5.2227)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0A42 #3D420A
analogous
#0A2142 #0F0A42 #2B0A42
triadic
#0F0A42 #420F0A #0A420F
tetradic
#0F0A42 #420A21 #3D420A #0A422B
square
#0F0A42 #420A21 #3D420A #0A422B
split-complementary
#0F0A42 #422B0A #21420A
monochromatic
#06041B #06041B #0F0A42 #1B1277 #271AAC

Accessibility & contrast

On white

18.38
#0F0A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0A42
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0A42#FFFFFF#000000##FFFFFF
##0F0A421.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0a42;
/* rgb */ color: rgb(15, 10, 66);
/* oklch */ color: oklch(20.2% 0.100 276.7);
Tailwind
colors: {
  custom: {
    50: '#574a77',
    500: '#0f0a42',
    950: '#000000',
  },
}
SCSS
$custom: #0f0a42;
$custom-light: #574a77;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0a42",
  "rgb": {
    "r": 15,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 245.357,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20238,
    "c": 0.0995,
    "h": 276.7
  },
  "luminance": 0.00712
}

Semantic roles & 50–950 ramp

primary
#0F0A42
secondary
#777F29
accent
#F037E0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0F0A42

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

Preview Lab → · Contrast checker → · Palette generator →

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