#0F0F5E#0F0F5E

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

Color values

HEX#0F0F5E
RGBrgb(15, 15, 94)
HSLhsl(240, 72%, 21%)
HSVhsv(240, 84%, 37%)
CMYKcmyk(84%, 84%, 0%, 63.1%)
CIE-LABlab(10.93, 30.36, -45.87)
CIE-LCHlch(10.93, 55.01, 303.50°)
OKLaboklab(24.52% 0.0023 -0.1328)
OKLCHoklch(24.52% 0.133 271)
XYZxyz(2.3875, 1.2511, 10.7032)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F5E #5E5E0F
analogous
#0F375E #0F0F5E #370F5E
triadic
#0F0F5E #5E0F0F #0F5E0F
tetradic
#0F0F5E #5E0F37 #5E5E0F #0F5E37
square
#0F0F5E #5E0F37 #5E5E0F #0F5E37
split-complementary
#0F0F5E #5E370F #375E0F
monochromatic
#04041A #070729 #0F0F5E #171793 #2020C8

Accessibility & contrast

On white

16.80
#0F0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0F5E
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F5E#FFFFFF#000000##FFFFFF
##0F0F5E1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002160
Deuteranopia (green-blind)
#00195D
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f0f5e;
/* rgb */ color: rgb(15, 15, 94);
/* oklch */ color: oklch(24.5% 0.133 271.0);
Tailwind
colors: {
  custom: {
    50: '#5f4f8d',
    500: '#0f0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f5e;
$custom-light: #5f4f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f5e",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 240,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24524,
    "c": 0.13284,
    "h": 271
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#0F0F5E
secondary
#979731
accent
#EF39EF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #0F0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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