#0F1154#0F1154

#0F1154 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.117 H 271.8°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#0F1154
RGBrgb(15, 17, 84)
HSLhsl(238, 70%, 19%)
HSVhsv(238, 82%, 33%)
CMYKcmyk(82.1%, 79.8%, 0%, 67.1%)
CIE-LABlab(10.12, 25.37, -40.44)
CIE-LCHlch(10.12, 47.73, 302.10°)
OKLaboklab(23.59% 0.0036 -0.117)
OKLCHoklch(23.59% 0.117 271.8)
XYZxyz(1.9971, 1.1423, 8.5010)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1154 #54520F
analogous
#0F3454 #0F1154 #300F54
triadic
#0F1154 #540F11 #11540F
tetradic
#0F1154 #540F34 #54520F #0F5430
square
#0F1154 #540F34 #54520F #0F5430
split-complementary
#0F1154 #54300F #34540F
monochromatic
#05051A #060620 #0F1154 #181C88 #2226BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F1154#FFFFFF#000000##FFFFFF
##0F11541.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)
#001F56
Deuteranopia (green-blind)
#001853
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1154;
/* rgb */ color: rgb(15, 17, 84);
/* oklch */ color: oklch(23.6% 0.117 271.8);
Tailwind
colors: {
  custom: {
    50: '#5b4f85',
    500: '#0f1154',
    950: '#000000',
  },
}
SCSS
$custom: #0f1154;
$custom-light: #5b4f85;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1154",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 238.261,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2359,
    "c": 0.1171,
    "h": 271.8
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#0F1154
secondary
#8E8B31
accent
#E73BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1154

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

Preview Lab → · Contrast checker → · Palette generator →

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