#0F102B#0F102B

#0F102B is a very dark, muted blue. Relative luminance 0.006; OKLCH L 19.0% C 0.054 H 278.4°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#0F102B
RGBrgb(15, 16, 43)
HSLhsl(238, 48%, 11%)
HSVhsv(238, 65%, 17%)
CMYKcmyk(65.1%, 62.8%, 0%, 83.1%)
CIE-LABlab(5.84, 8.35, -18.16)
CIE-LCHlch(5.84, 19.99, 294.68°)
OKLaboklab(19% 0.0078 -0.0529)
OKLCHoklch(19% 0.054 278.4)
XYZxyz(0.8182, 0.6465, 2.3667)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F102B #2B2A0F
analogous
#0F1E2B #0F102B #1C0F2B
triadic
#0F102B #2B0F10 #102B0F
tetradic
#0F102B #2B0F1E #2B2A0F #0F2B1C
square
#0F102B #2B0F1E #2B2A0F #0F2B1C
split-complementary
#0F102B #2B1C0F #1E2B0F
monochromatic
#080817 #080817 #0F102B #1F2158 #2F3286

Accessibility & contrast

On white

18.59
#0F102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F102B
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F102B#FFFFFF#000000##FFFFFF
##0F102B1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142C
Deuteranopia (green-blind)
#02122A
Tritanopia (blue-blind)
#04161B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f102b;
/* rgb */ color: rgb(15, 16, 43);
/* oklch */ color: oklch(19.0% 0.054 278.4);
Tailwind
colors: {
  custom: {
    50: '#4f4e64',
    500: '#0f102b',
    950: '#000000',
  },
}
SCSS
$custom: #0f102b;
$custom-light: #4f4e64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f102b",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 237.857,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18995,
    "c": 0.05352,
    "h": 278.4
  },
  "luminance": 0.00647
}

Semantic roles & 50–950 ramp

primary
#0F102B
secondary
#646232
accent
#D350D8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0F102B

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

Preview Lab → · Contrast checker → · Palette generator →

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