#0F105A#0F105A

#0F105A is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.2% C 0.126 H 271.3°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#0F105A
RGBrgb(15, 16, 90)
HSLhsl(239, 71%, 21%)
HSVhsv(239, 83%, 35%)
CMYKcmyk(83.3%, 82.2%, 0%, 64.7%)
CIE-LABlab(10.63, 28.29, -43.67)
CIE-LCHlch(10.63, 52.03, 302.93°)
OKLaboklab(24.17% 0.0028 -0.1264)
OKLCHoklch(24.17% 0.126 271.3)
XYZxyz(2.2271, 1.2101, 9.7871)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F105A #5A590F
analogous
#0F355A #0F105A #330F5A
triadic
#0F105A #5A0F10 #105A0F
tetradic
#0F105A #5A0F35 #5A590F #0F5A33
square
#0F105A #5A0F35 #5A590F #0F5A33
split-complementary
#0F105A #5A330F #355A0F
monochromatic
#04051A #060726 #0F105A #18198E #2023C3

Accessibility & contrast

On white

16.91
#0F105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F105A
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F105A#FFFFFF#000000##FFFFFF
##0F105A1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205C
Deuteranopia (green-blind)
#001959
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f105a;
/* rgb */ color: rgb(15, 16, 90);
/* oklch */ color: oklch(24.2% 0.126 271.3);
Tailwind
colors: {
  custom: {
    50: '#5d4f8a',
    500: '#0f105a',
    950: '#000000',
  },
}
SCSS
$custom: #0f105a;
$custom-light: #5d4f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f105a",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 239.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24166,
    "c": 0.12648,
    "h": 271.3
  },
  "luminance": 0.0121
}

Semantic roles & 50–950 ramp

primary
#0F105A
secondary
#949231
accent
#EC3AEE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #0F105A

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

Preview Lab → · Contrast checker → · Palette generator →

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