#0F105C#0F105C

#0F105C is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.4% C 0.129 H 271.1°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#0F105C
RGBrgb(15, 16, 92)
HSLhsl(239, 72%, 21%)
HSVhsv(239, 84%, 36%)
CMYKcmyk(83.7%, 82.6%, 0%, 63.9%)
CIE-LABlab(10.88, 29.03, -44.61)
CIE-LCHlch(10.88, 53.22, 303.06°)
OKLaboklab(24.42% 0.0024 -0.1292)
OKLCHoklch(24.42% 0.129 271.1)
XYZxyz(2.3134, 1.2446, 10.2414)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F105C #5C5B0F
analogous
#0F365C #0F105C #340F5C
triadic
#0F105C #5C0F10 #105C0F
tetradic
#0F105C #5C0F36 #5C5B0F #0F5C34
square
#0F105C #5C0F36 #5C5B0F #0F5C34
split-complementary
#0F105C #5C340F #365C0F
monochromatic
#04051A #060727 #0F105C #181991 #2022C5

Accessibility & contrast

On white

16.81
#0F105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F105C
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F105C#FFFFFF#000000##FFFFFF
##0F105C1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215E
Deuteranopia (green-blind)
#00195B
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f105c;
/* rgb */ color: rgb(15, 16, 92);
/* oklch */ color: oklch(24.4% 0.129 271.1);
Tailwind
colors: {
  custom: {
    50: '#5e4f8b',
    500: '#0f105c',
    950: '#000000',
  },
}
SCSS
$custom: #0f105c;
$custom-light: #5e4f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f105c",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 239.221,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24417,
    "c": 0.12918,
    "h": 271.1
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#0F105C
secondary
#959431
accent
#EC39EF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F105C

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

Preview Lab → · Contrast checker → · Palette generator →

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