#0F0A48#0F0A48

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

Color values

HEX#0F0A48
RGBrgb(15, 10, 72)
HSLhsl(245, 76%, 16%)
HSVhsv(245, 86%, 28%)
CMYKcmyk(79.2%, 86.1%, 0%, 71.8%)
CIE-LABlab(7.10, 25.13, -37.13)
CIE-LCHlch(7.10, 44.83, 304.09°)
OKLaboklab(20.99% 0.01 -0.1075)
OKLCHoklch(20.99% 0.108 275.3)
XYZxyz(1.4749, 0.7864, 6.2037)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0A48 #43480A
analogous
#0A2448 #0F0A48 #2E0A48
triadic
#0F0A48 #480F0A #0A480F
tetradic
#0F0A48 #480A24 #43480A #0A482E
square
#0F0A48 #480A24 #43480A #0A482E
split-complementary
#0F0A48 #482E0A #24480A
monochromatic
#06041B #06041B #0F0A48 #1A117E #2519B3

Accessibility & contrast

On white

18.14
#0F0A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F0A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0A48
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0A48#FFFFFF#000000##FFFFFF
##0F0A481.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00184A
Deuteranopia (green-blind)
#001347
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0a48;
/* rgb */ color: rgb(15, 10, 72);
/* oklch */ color: oklch(21.0% 0.108 275.3);
Tailwind
colors: {
  custom: {
    50: '#584a7c',
    500: '#0f0a48',
    950: '#000000',
  },
}
SCSS
$custom: #0f0a48;
$custom-light: #584a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0a48",
  "rgb": {
    "r": 15,
    "g": 10,
    "b": 72
  },
  "hsl": {
    "h": 244.839,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.20991,
    "c": 0.10799,
    "h": 275.3
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#0F0A48
secondary
#7D8529
accent
#F236E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0A48

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

Preview Lab → · Contrast checker → · Palette generator →

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