#0F0B48#0F0B48

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

Color values

HEX#0F0B48
RGBrgb(15, 11, 72)
HSLhsl(244, 73%, 16%)
HSVhsv(244, 85%, 28%)
CMYKcmyk(79.2%, 84.7%, 0%, 71.8%)
CIE-LABlab(7.30, 24.58, -36.80)
CIE-LCHlch(7.30, 44.25, 303.74°)
OKLaboklab(21.14% 0.0095 -0.1065)
OKLCHoklch(21.14% 0.107 275.1)
XYZxyz(1.4860, 0.8086, 6.2074)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0B48 #44480B
analogous
#0B2648 #0F0B48 #2E0B48
triadic
#0F0B48 #480F0B #0B480F
tetradic
#0F0B48 #480B26 #44480B #0B482E
square
#0F0B48 #480B26 #44480B #0B482E
split-complementary
#0F0B48 #482E0B #26480B
monochromatic
#06041B #06041B #0F0B48 #1A137D #251BB2

Accessibility & contrast

On white

18.08
#0F0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0B48
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0B48#FFFFFF#000000##FFFFFF
##0F0B481.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0b48;
/* rgb */ color: rgb(15, 11, 72);
/* oklch */ color: oklch(21.1% 0.107 275.1);
Tailwind
colors: {
  custom: {
    50: '#584b7c',
    500: '#0f0b48',
    950: '#000000',
  },
}
SCSS
$custom: #0f0b48;
$custom-light: #584b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0b48",
  "rgb": {
    "r": 15,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 243.934,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21142,
    "c": 0.10692,
    "h": 275.1
  },
  "luminance": 0.00809
}

Semantic roles & 50–950 ramp

primary
#0F0B48
secondary
#7E842A
accent
#F038E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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