#0F1054#0F1054

#0F1054 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.4% C 0.118 H 272.0°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#0F1054
RGBrgb(15, 16, 84)
HSLhsl(239, 70%, 19%)
HSVhsv(239, 82%, 33%)
CMYKcmyk(82.1%, 81%, 0%, 67.1%)
CIE-LABlab(9.89, 26.02, -40.82)
CIE-LCHlch(9.89, 48.41, 302.51°)
OKLaboklab(23.43% 0.0041 -0.1182)
OKLCHoklch(23.43% 0.118 272)
XYZxyz(1.9820, 1.1120, 8.4960)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1054 #54530F
analogous
#0F3354 #0F1054 #310F54
triadic
#0F1054 #540F10 #10540F
tetradic
#0F1054 #540F33 #54530F #0F5431
square
#0F1054 #540F33 #54530F #0F5431
split-complementary
#0F1054 #54310F #33540F
monochromatic
#05051A #060620 #0F1054 #181A88 #2224BC

Accessibility & contrast

On white

17.18
#0F1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1054
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1054#FFFFFF#000000##FFFFFF
##0F10541.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001853
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1054;
/* rgb */ color: rgb(15, 16, 84);
/* oklch */ color: oklch(23.4% 0.118 272.0);
Tailwind
colors: {
  custom: {
    50: '#5b4f85',
    500: '#0f1054',
    950: '#000000',
  },
}
SCSS
$custom: #0f1054;
$custom-light: #5b4f85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1054",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 239.13,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23425,
    "c": 0.11824,
    "h": 272
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#0F1054
secondary
#8E8D31
accent
#EA3BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1054

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

Preview Lab → · Contrast checker → · Palette generator →

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