#0F1550#0F1550

#0F1550 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.106 H 271.0°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#0F1550
RGBrgb(15, 21, 80)
HSLhsl(234, 68%, 19%)
HSVhsv(234, 81%, 31%)
CMYKcmyk(81.3%, 73.7%, 0%, 68.6%)
CIE-LABlab(10.68, 20.99, -36.78)
CIE-LCHlch(10.68, 42.35, 299.71°)
OKLaboklab(23.85% 0.0018 -0.1064)
OKLCHoklch(23.85% 0.106 271)
XYZxyz(1.9126, 1.2169, 7.7219)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1550 #504A0F
analogous
#0F3550 #0F1550 #290F50
triadic
#0F1550 #500F15 #15500F
tetradic
#0F1550 #500F35 #504A0F #0F5029
square
#0F1550 #500F35 #504A0F #0F5029
split-complementary
#0F1550 #50290F #35500F
monochromatic
#05071A #05071C #0F1550 #192384 #2230B7

Accessibility & contrast

On white

16.89
#0F1550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1550
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1550#FFFFFF#000000##FFFFFF
##0F15501.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001A4F
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f1550;
/* rgb */ color: rgb(15, 21, 80);
/* oklch */ color: oklch(23.9% 0.106 271.0);
Tailwind
colors: {
  custom: {
    50: '#5a5282',
    500: '#0f1550',
    950: '#000000',
  },
}
SCSS
$custom: #0f1550;
$custom-light: #5a5282;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1550",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 234.462,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23854,
    "c": 0.10642,
    "h": 271
  },
  "luminance": 0.01217
}

Semantic roles & 50–950 ramp

primary
#0F1550
secondary
#8A8231
accent
#DB3DEB
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020A
muted
#79787C

Preview Lab

Preview with #0F1550

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

Preview Lab → · Contrast checker → · Palette generator →

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