#0F1056#0F1056

#0F1056 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.7% C 0.121 H 271.7°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#0F1056
RGBrgb(15, 16, 86)
HSLhsl(239, 70%, 20%)
HSVhsv(239, 83%, 34%)
CMYKcmyk(82.6%, 81.4%, 0%, 66.3%)
CIE-LABlab(10.14, 26.78, -41.78)
CIE-LCHlch(10.14, 49.63, 302.66°)
OKLaboklab(23.67% 0.0037 -0.121)
OKLCHoklch(23.67% 0.121 271.7)
XYZxyz(2.0614, 1.1438, 8.9144)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1056 #56550F
analogous
#0F3456 #0F1056 #320F56
triadic
#0F1056 #560F10 #10560F
tetradic
#0F1056 #560F34 #56550F #0F5632
square
#0F1056 #560F34 #56550F #0F5632
split-complementary
#0F1056 #56320F #34560F
monochromatic
#05051A #060622 #0F1056 #181A8A #2123BE

Accessibility & contrast

On white

17.09
#0F1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0F1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1056
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1056#FFFFFF#000000##FFFFFF
##0F10561.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001855
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1056;
/* rgb */ color: rgb(15, 16, 86);
/* oklch */ color: oklch(23.7% 0.121 271.7);
Tailwind
colors: {
  custom: {
    50: '#5c4f87',
    500: '#0f1056',
    950: '#000000',
  },
}
SCSS
$custom: #0f1056;
$custom-light: #5c4f87;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1056",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 239.155,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2367,
    "c": 0.12102,
    "h": 271.7
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#0F1056
secondary
#908F31
accent
#EB3BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1056

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

Preview Lab → · Contrast checker → · Palette generator →

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