#0F0C55#0F0C55

#0F0C55 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 22.9% C 0.124 H 272.6°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#0F0C55
RGBrgb(15, 12, 85)
HSLhsl(242, 75%, 19%)
HSVhsv(242, 86%, 33%)
CMYKcmyk(82.4%, 85.9%, 0%, 66.7%)
CIE-LABlab(9.16, 28.85, -42.72)
CIE-LCHlch(9.16, 51.55, 304.03°)
OKLaboklab(22.95% 0.0056 -0.1236)
OKLCHoklch(22.95% 0.124 272.6)
XYZxyz(1.9676, 1.0202, 8.6858)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0C55 #52550C
analogous
#0C2E55 #0F0C55 #340C55
triadic
#0F0C55 #550F0C #0C550F
tetradic
#0F0C55 #550C2E #52550C #0C5534
square
#0F0C55 #550C2E #52550C #0C5534
split-complementary
#0F0C55 #55340C #2E550C
monochromatic
#05041B #06041F #0F0C55 #18148B #221BC0

Accessibility & contrast

On white

17.44
#0F0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#0F0C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0C55
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0C55#FFFFFF#000000##FFFFFF
##0F0C551.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D57
Deuteranopia (green-blind)
#001654
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f0c55;
/* rgb */ color: rgb(15, 12, 85);
/* oklch */ color: oklch(22.9% 0.124 272.6);
Tailwind
colors: {
  custom: {
    50: '#5c4c86',
    500: '#0f0c55',
    950: '#000000',
  },
}
SCSS
$custom: #0f0c55;
$custom-light: #5c4c86;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0c55",
  "rgb": {
    "r": 15,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 242.466,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.22945,
    "c": 0.12375,
    "h": 272.6
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#0F0C55
secondary
#8C902D
accent
#F236EA
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0F0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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