#0F1050#0F1050

#0F1050 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.113 H 272.5°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#0F1050
RGBrgb(15, 16, 80)
HSLhsl(239, 68%, 19%)
HSVhsv(239, 81%, 31%)
CMYKcmyk(81.3%, 80%, 0%, 68.6%)
CIE-LABlab(9.41, 24.48, -38.88)
CIE-LCHlch(9.41, 45.94, 302.20°)
OKLaboklab(22.94% 0.0049 -0.1125)
OKLCHoklch(22.94% 0.113 272.5)
XYZxyz(1.8298, 1.0511, 7.6943)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1050 #504F0F
analogous
#0F3050 #0F1050 #2E0F50
triadic
#0F1050 #500F10 #10500F
tetradic
#0F1050 #500F30 #504F0F #0F502E
square
#0F1050 #500F30 #504F0F #0F502E
split-complementary
#0F1050 #502E0F #30500F
monochromatic
#05051A #05061C #0F1050 #191A84 #2225B7

Accessibility & contrast

On white

17.35
#0F1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F1050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1050
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1050#FFFFFF#000000##FFFFFF
##0F10501.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00174F
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f1050;
/* rgb */ color: rgb(15, 16, 80);
/* oklch */ color: oklch(22.9% 0.113 272.5);
Tailwind
colors: {
  custom: {
    50: '#5a4f82',
    500: '#0f1050',
    950: '#000000',
  },
}
SCSS
$custom: #0f1050;
$custom-light: #5a4f82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1050",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 239.077,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.22939,
    "c": 0.1126,
    "h": 272.5
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#0F1050
secondary
#8A8931
accent
#E93DEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F1050

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

Preview Lab → · Contrast checker → · Palette generator →

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