#0F105B#0F105B

#0F105B is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.3% C 0.128 H 271.2°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#0F105B
RGBrgb(15, 16, 91)
HSLhsl(239, 72%, 21%)
HSVhsv(239, 84%, 36%)
CMYKcmyk(83.5%, 82.4%, 0%, 64.3%)
CIE-LABlab(10.76, 28.66, -44.14)
CIE-LCHlch(10.76, 52.63, 302.99°)
OKLaboklab(24.29% 0.0026 -0.1278)
OKLCHoklch(24.29% 0.128 271.2)
XYZxyz(2.2700, 1.2272, 10.0127)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F105B #5B5A0F
analogous
#0F365B #0F105B #340F5B
triadic
#0F105B #5B0F10 #105B0F
tetradic
#0F105B #5B0F36 #5B5A0F #0F5B34
square
#0F105B #5B0F36 #5B5A0F #0F5B34
split-complementary
#0F105B #5B340F #365B0F
monochromatic
#04051A #060726 #0F105B #181990 #2022C4

Accessibility & contrast

On white

16.86
#0F105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F105B
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F105B#FFFFFF#000000##FFFFFF
##0F105B1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f105b;
/* rgb */ color: rgb(15, 16, 91);
/* oklch */ color: oklch(24.3% 0.128 271.2);
Tailwind
colors: {
  custom: {
    50: '#5e4f8a',
    500: '#0f105b',
    950: '#000000',
  },
}
SCSS
$custom: #0f105b;
$custom-light: #5e4f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f105b",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 239.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24291,
    "c": 0.12784,
    "h": 271.2
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#0F105B
secondary
#959331
accent
#EC39EE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F105B

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

Preview Lab → · Contrast checker → · Palette generator →

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