#0F105D#0F105D

#0F105D is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.5% C 0.131 H 271.0°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#0F105D
RGBrgb(15, 16, 93)
HSLhsl(239, 72%, 21%)
HSVhsv(239, 84%, 36%)
CMYKcmyk(83.9%, 82.8%, 0%, 63.5%)
CIE-LABlab(11.01, 29.40, -45.07)
CIE-LCHlch(11.01, 53.81, 303.12°)
OKLaboklab(24.54% 0.0022 -0.1305)
OKLCHoklch(24.54% 0.131 271)
XYZxyz(2.3574, 1.2622, 10.4732)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F105D #5D5C0F
analogous
#0F375D #0F105D #350F5D
triadic
#0F105D #5D0F10 #105D0F
tetradic
#0F105D #5D0F37 #5D5C0F #0F5D35
square
#0F105D #5D0F37 #5D5C0F #0F5D35
split-complementary
#0F105D #5D350F #375D0F
monochromatic
#04051A #060728 #0F105D #171992 #2022C6

Accessibility & contrast

On white

16.77
#0F105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F105D
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F105D#FFFFFF#000000##FFFFFF
##0F105D1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215F
Deuteranopia (green-blind)
#00195C
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f105d;
/* rgb */ color: rgb(15, 16, 93);
/* oklch */ color: oklch(24.5% 0.131 271.0);
Tailwind
colors: {
  custom: {
    50: '#5e4f8c',
    500: '#0f105d',
    950: '#000000',
  },
}
SCSS
$custom: #0f105d;
$custom-light: #5e4f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f105d",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 239.231,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.24542,
    "c": 0.13052,
    "h": 271
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#0F105D
secondary
#969531
accent
#ED39EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F105D

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

Preview Lab → · Contrast checker → · Palette generator →

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