#0F1051#0F1051

#0F1051 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.114 H 272.3°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#0F1051
RGBrgb(15, 16, 81)
HSLhsl(239, 69%, 19%)
HSVhsv(239, 81%, 32%)
CMYKcmyk(81.5%, 80.2%, 0%, 68.2%)
CIE-LABlab(9.53, 24.87, -39.37)
CIE-LCHlch(9.53, 46.56, 302.28°)
OKLaboklab(23.06% 0.0047 -0.1139)
OKLCHoklch(23.06% 0.114 272.3)
XYZxyz(1.8670, 1.0660, 7.8904)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1051 #51500F
analogous
#0F3151 #0F1051 #2F0F51
triadic
#0F1051 #510F10 #10510F
tetradic
#0F1051 #510F31 #51500F #0F512F
square
#0F1051 #510F31 #51500F #0F512F
split-complementary
#0F1051 #512F0F #31510F
monochromatic
#05051A #05061D #0F1051 #191A85 #2224B8

Accessibility & contrast

On white

17.31
#0F1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1051
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1051#FFFFFF#000000##FFFFFF
##0F10511.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E53
Deuteranopia (green-blind)
#001750
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1051;
/* rgb */ color: rgb(15, 16, 81);
/* oklch */ color: oklch(23.1% 0.114 272.3);
Tailwind
colors: {
  custom: {
    50: '#5b4f83',
    500: '#0f1051',
    950: '#000000',
  },
}
SCSS
$custom: #0f1051;
$custom-light: #5b4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1051",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 239.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2306,
    "c": 0.11403,
    "h": 272.3
  },
  "luminance": 0.01066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F1051

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

Preview Lab → · Contrast checker → · Palette generator →

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