#0F102D#0F102D

#0F102D is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.2% C 0.057 H 278.1°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0F102D
RGBrgb(15, 16, 45)
HSLhsl(238, 50%, 12%)
HSVhsv(238, 67%, 18%)
CMYKcmyk(66.7%, 64.4%, 0%, 82.4%)
CIE-LABlab(5.98, 9.30, -19.44)
CIE-LCHlch(5.98, 21.55, 295.56°)
OKLaboklab(19.17% 0.008 -0.0566)
OKLCHoklch(19.17% 0.057 278.1)
XYZxyz(0.8558, 0.6615, 2.5647)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F102D #2D2C0F
analogous
#0F1F2D #0F102D #1D0F2D
triadic
#0F102D #2D0F10 #102D0F
tetradic
#0F102D #2D0F1F #2D2C0F #0F2D1D
square
#0F102D #2D0F1F #2D2C0F #0F2D1D
split-complementary
#0F102D #2D1D0F #1F2D0F
monochromatic
#080817 #080817 #0F102D #1E205B #2E3189

Accessibility & contrast

On white

18.54
#0F102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0F102D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F102D
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F102D#FFFFFF#000000##FFFFFF
##0F102D1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142E
Deuteranopia (green-blind)
#01122C
Tritanopia (blue-blind)
#03171C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f102d;
/* rgb */ color: rgb(15, 16, 45);
/* oklch */ color: oklch(19.2% 0.057 278.1);
Tailwind
colors: {
  custom: {
    50: '#504e66',
    500: '#0f102d',
    950: '#000000',
  },
}
SCSS
$custom: #0f102d;
$custom-light: #504e66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f102d",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 238,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19173,
    "c": 0.05712,
    "h": 278.1
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#0F102D
secondary
#666531
accent
#D54EDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F102D

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

Preview Lab → · Contrast checker → · Palette generator →

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