#0F102C#0F102C

#0F102C is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.1% C 0.055 H 278.2°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#0F102C
RGBrgb(15, 16, 44)
HSLhsl(238, 49%, 12%)
HSVhsv(238, 66%, 17%)
CMYKcmyk(65.9%, 63.6%, 0%, 82.7%)
CIE-LABlab(5.91, 8.82, -18.80)
CIE-LCHlch(5.91, 20.77, 295.13°)
OKLaboklab(19.08% 0.0079 -0.0548)
OKLCHoklch(19.08% 0.055 278.2)
XYZxyz(0.8368, 0.6539, 2.4645)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F102C #2C2B0F
analogous
#0F1F2C #0F102C #1D0F2C
triadic
#0F102C #2C0F10 #102C0F
tetradic
#0F102C #2C0F1F #2C2B0F #0F2C1D
square
#0F102C #2C0F1F #2C2B0F #0F2C1D
split-complementary
#0F102C #2C1D0F #1F2C0F
monochromatic
#080817 #080817 #0F102C #1F215A #2E3187

Accessibility & contrast

On white

18.57
#0F102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F102C
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F102C#FFFFFF#000000##FFFFFF
##0F102C1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03142D
Deuteranopia (green-blind)
#02122B
Tritanopia (blue-blind)
#04161B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f102c;
/* rgb */ color: rgb(15, 16, 44);
/* oklch */ color: oklch(19.1% 0.055 278.2);
Tailwind
colors: {
  custom: {
    50: '#504e65',
    500: '#0f102c',
    950: '#000000',
  },
}
SCSS
$custom: #0f102c;
$custom-light: #504e65;
$custom-dark: #000000;
JSON
{
  "hex": "#0f102c",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 237.931,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19083,
    "c": 0.05533,
    "h": 278.2
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#0F102C
secondary
#656431
accent
#D44FD9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0F102C

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

Preview Lab → · Contrast checker → · Palette generator →

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