#0F0C50#0F0C50

#0F0C50 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.3% C 0.117 H 273.4°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#0F0C50
RGBrgb(15, 12, 80)
HSLhsl(243, 74%, 18%)
HSVhsv(243, 85%, 31%)
CMYKcmyk(81.3%, 85%, 0%, 68.6%)
CIE-LABlab(8.51, 27.03, -40.36)
CIE-LCHlch(8.51, 48.57, 303.81°)
OKLaboklab(22.3% 0.0069 -0.1168)
OKLCHoklch(22.3% 0.117 273.4)
XYZxyz(1.7760, 0.9435, 7.6764)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0C50 #4D500C
analogous
#0C2B50 #0F0C50 #310C50
triadic
#0F0C50 #500F0C #0C500F
tetradic
#0F0C50 #500C2B #4D500C #0C5031
square
#0F0C50 #500C2B #4D500C #0C5031
split-complementary
#0F0C50 #50310C #2B500C
monochromatic
#05041B #05041B #0F0C50 #191485 #231CBA

Accessibility & contrast

On white

17.66
#0F0C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0F0C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0C50
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0C50#FFFFFF#000000##FFFFFF
##0F0C501.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C52
Deuteranopia (green-blind)
#00154F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f0c50;
/* rgb */ color: rgb(15, 12, 80);
/* oklch */ color: oklch(22.3% 0.117 273.4);
Tailwind
colors: {
  custom: {
    50: '#5b4c82',
    500: '#0f0c50',
    950: '#000000',
  },
}
SCSS
$custom: #0f0c50;
$custom-light: #5b4c82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0c50",
  "rgb": {
    "r": 15,
    "g": 12,
    "b": 80
  },
  "hsl": {
    "h": 242.647,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22304,
    "c": 0.11698,
    "h": 273.4
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#0F0C50
secondary
#878B2C
accent
#F137E8
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C

Preview Lab

Preview with #0F0C50

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

Preview Lab → · Contrast checker → · Palette generator →

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