#0F1141#0F1141

#0F1141 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.089 H 274.2°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#0F1141
RGBrgb(15, 17, 65)
HSLhsl(238, 63%, 16%)
HSVhsv(238, 77%, 25%)
CMYKcmyk(76.9%, 73.8%, 0%, 74.5%)
CIE-LABlab(7.99, 17.74, -30.74)
CIE-LCHlch(7.99, 35.49, 300.00°)
OKLaboklab(21.4% 0.0064 -0.0887)
OKLCHoklch(21.4% 0.089 274.2)
XYZxyz(1.3513, 0.8840, 5.0994)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1141 #413F0F
analogous
#0F2A41 #0F1141 #260F41
triadic
#0F1141 #410F11 #11410F
tetradic
#0F1141 #410F2A #413F0F #0F4126
square
#0F1141 #410F2A #413F0F #0F4126
split-complementary
#0F1141 #41260F #2A410F
monochromatic
#060719 #060719 #0F1141 #1A1E73 #262BA4

Accessibility & contrast

On white

17.85
#0F1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0F1141 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1141
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1141#FFFFFF#000000##FFFFFF
##0F11411.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0f1141;
/* rgb */ color: rgb(15, 17, 65);
/* oklch */ color: oklch(21.4% 0.089 274.2);
Tailwind
colors: {
  custom: {
    50: '#564f76',
    500: '#0f1141',
    950: '#000000',
  },
}
SCSS
$custom: #0f1141;
$custom-light: #564f76;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1141",
  "rgb": {
    "r": 15,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 237.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21402,
    "c": 0.08896,
    "h": 274.2
  },
  "luminance": 0.00884
}

Semantic roles & 50–950 ramp

primary
#0F1141
secondary
#7B7830
accent
#DF42E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F1141

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

Preview Lab → · Contrast checker → · Palette generator →

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