#0F0C53#0F0C53

#0F0C53 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 22.7% C 0.121 H 272.9°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#0F0C53
RGBrgb(15, 12, 83)
HSLhsl(243, 75%, 19%)
HSVhsv(243, 86%, 33%)
CMYKcmyk(81.9%, 85.5%, 0%, 67.5%)
CIE-LABlab(8.90, 28.13, -41.78)
CIE-LCHlch(8.90, 50.37, 303.95°)
OKLaboklab(22.69% 0.0061 -0.1209)
OKLCHoklch(22.69% 0.121 272.9)
XYZxyz(1.8893, 0.9888, 8.2732)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0C53 #50530C
analogous
#0C2C53 #0F0C53 #320C53
triadic
#0F0C53 #530F0C #0C530F
tetradic
#0F0C53 #530C2C #50530C #0C5332
square
#0F0C53 #530C2C #50530C #0C5332
split-complementary
#0F0C53 #53320C #2C530C
monochromatic
#05041B #05041E #0F0C53 #191488 #221BBE

Accessibility & contrast

On white

17.53
#0F0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0C53
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0C53#FFFFFF#000000##FFFFFF
##0F0C531.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D55
Deuteranopia (green-blind)
#001652
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0f0c53;
/* rgb */ color: rgb(15, 12, 83);
/* oklch */ color: oklch(22.7% 0.121 272.9);
Tailwind
colors: {
  custom: {
    50: '#5c4c84',
    500: '#0f0c53',
    950: '#000000',
  },
}
SCSS
$custom: #0f0c53;
$custom-light: #5c4c84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0c53",
  "rgb": {
    "r": 15,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 242.535,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.22688,
    "c": 0.12105,
    "h": 272.9
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#0F0C53
secondary
#8A8E2D
accent
#F136E9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #0F0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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