#0F102E#0F102E

#0F102E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.3% C 0.059 H 277.9°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#0F102E
RGBrgb(15, 16, 46)
HSLhsl(238, 51%, 12%)
HSVhsv(238, 67%, 18%)
CMYKcmyk(67.4%, 65.2%, 0%, 82%)
CIE-LABlab(6.05, 9.78, -20.08)
CIE-LCHlch(6.05, 22.33, 295.97°)
OKLaboklab(19.26% 0.0081 -0.0583)
OKLCHoklch(19.26% 0.059 277.9)
XYZxyz(0.8753, 0.6693, 2.6673)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F102E #2E2D0F
analogous
#0F202E #0F102E #1E0F2E
triadic
#0F102E #2E0F10 #102E0F
tetradic
#0F102E #2E0F20 #2E2D0F #0F2E1E
square
#0F102E #2E0F20 #2E2D0F #0F2E1E
split-complementary
#0F102E #2E1E0F #202E0F
monochromatic
#080817 #080817 #0F102E #1E205C #2D308A

Accessibility & contrast

On white

18.52
#0F102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F102E
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F102E#FFFFFF#000000##FFFFFF
##0F102E1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#02171C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f102e;
/* rgb */ color: rgb(15, 16, 46);
/* oklch */ color: oklch(19.3% 0.059 277.9);
Tailwind
colors: {
  custom: {
    50: '#504e67',
    500: '#0f102e',
    950: '#000000',
  },
}
SCSS
$custom: #0f102e;
$custom-light: #504e67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f102e",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 238.065,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19264,
    "c": 0.05891,
    "h": 277.9
  },
  "luminance": 0.00669
}

Semantic roles & 50–950 ramp

primary
#0F102E
secondary
#686631
accent
#D64DDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F102E

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

Preview Lab → · Contrast checker → · Palette generator →

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