#0F1052#0F1052

#0F1052 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.115 H 272.2°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#0F1052
RGBrgb(15, 16, 82)
HSLhsl(239, 69%, 19%)
HSVhsv(239, 82%, 32%)
CMYKcmyk(81.7%, 80.5%, 0%, 67.8%)
CIE-LABlab(9.65, 25.25, -39.85)
CIE-LCHlch(9.65, 47.18, 302.36°)
OKLaboklab(23.18% 0.0045 -0.1153)
OKLCHoklch(23.18% 0.115 272.2)
XYZxyz(1.9048, 1.0811, 8.0893)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1052 #52510F
analogous
#0F3252 #0F1052 #300F52
triadic
#0F1052 #520F10 #10520F
tetradic
#0F1052 #520F32 #52510F #0F5230
square
#0F1052 #520F32 #52510F #0F5230
split-complementary
#0F1052 #52300F #32520F
monochromatic
#05051A #06061E #0F1052 #181A86 #2224B9

Accessibility & contrast

On white

17.27
#0F1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0F1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1052
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1052#FFFFFF#000000##FFFFFF
##0F10521.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001751
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1052;
/* rgb */ color: rgb(15, 16, 82);
/* oklch */ color: oklch(23.2% 0.115 272.2);
Tailwind
colors: {
  custom: {
    50: '#5b4f83',
    500: '#0f1052',
    950: '#000000',
  },
}
SCSS
$custom: #0f1052;
$custom-light: #5b4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1052",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 239.104,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23181,
    "c": 0.11544,
    "h": 272.2
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#0F1052
secondary
#8C8B31
accent
#E93CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1052

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

Preview Lab → · Contrast checker → · Palette generator →

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