#0F152B#0F152B

#0F152B is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.045 H 270.5°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#0F152B
RGBrgb(15, 21, 43)
HSLhsl(227, 48%, 11%)
HSVhsv(227, 65%, 17%)
CMYKcmyk(65.1%, 51.2%, 0%, 83.1%)
CIE-LABlab(7.34, 5.23, -15.80)
CIE-LCHlch(7.34, 16.64, 288.33°)
OKLaboklab(20.29% 0.0004 -0.0449)
OKLCHoklch(20.29% 0.045 270.5)
XYZxyz(0.9011, 0.8122, 2.3943)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F152B #2B250F
analogous
#0F232B #0F152B #170F2B
triadic
#0F152B #2B0F15 #152B0F
tetradic
#0F152B #2B0F23 #2B250F #0F2B17
square
#0F152B #2B0F23 #2B250F #0F2B17
split-complementary
#0F152B #2B170F #232B0F
monochromatic
#080B17 #080B17 #0F152B #1F2B58 #2F4186

Accessibility & contrast

On white

18.07
#0F152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F152B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F152B
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F152B#FFFFFF#000000##FFFFFF
##0F152B1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172C
Deuteranopia (green-blind)
#09152B
Tritanopia (blue-blind)
#041A1D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f152b;
/* rgb */ color: rgb(15, 21, 43);
/* oklch */ color: oklch(20.3% 0.045 270.5);
Tailwind
colors: {
  custom: {
    50: '#505164',
    500: '#0f152b',
    950: '#000000',
  },
}
SCSS
$custom: #0f152b;
$custom-light: #505164;
$custom-dark: #000000;
JSON
{
  "hex": "#0f152b",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 227.143,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20293,
    "c": 0.04489,
    "h": 270.5
  },
  "luminance": 0.00812
}

Semantic roles & 50–950 ramp

primary
#0F152B
secondary
#645932
accent
#BB50D8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A

Preview Lab

Preview with #0F152B

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

Preview Lab → · Contrast checker → · Palette generator →

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