#0F0F60#0F0F60

#0F0F60 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.135 H 270.8°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#0F0F60
RGBrgb(15, 15, 96)
HSLhsl(240, 73%, 22%)
HSVhsv(240, 84%, 38%)
CMYKcmyk(84.4%, 84.4%, 0%, 62.4%)
CIE-LABlab(11.19, 31.08, -46.78)
CIE-LCHlch(11.19, 56.17, 303.60°)
OKLaboklab(24.78% 0.0019 -0.1355)
OKLCHoklch(24.78% 0.135 270.8)
XYZxyz(2.4784, 1.2875, 11.1819)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F60 #60600F
analogous
#0F3860 #0F0F60 #380F60
triadic
#0F0F60 #600F0F #0F600F
tetradic
#0F0F60 #600F38 #60600F #0F6038
square
#0F0F60 #600F38 #60600F #0F6038
split-complementary
#0F0F60 #60380F #38600F
monochromatic
#04041A #07072B #0F0F60 #171795 #2020CA

Accessibility & contrast

On white

16.70
#0F0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0F0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F60
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F60#FFFFFF#000000##FFFFFF
##0F0F601.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002262
Deuteranopia (green-blind)
#001A5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f0f60;
/* rgb */ color: rgb(15, 15, 96);
/* oklch */ color: oklch(24.8% 0.135 270.8);
Tailwind
colors: {
  custom: {
    50: '#5f4f8e',
    500: '#0f0f60',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f60;
$custom-light: #5f4f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f60",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 240,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2478,
    "c": 0.13547,
    "h": 270.8
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#0F0F60
secondary
#999932
accent
#F038F0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #0F0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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