#0F1552#0F1552

#0F1552 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.109 H 270.8°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#0F1552
RGBrgb(15, 21, 82)
HSLhsl(235, 69%, 19%)
HSVhsv(235, 82%, 32%)
CMYKcmyk(81.7%, 74.4%, 0%, 67.8%)
CIE-LABlab(10.90, 21.81, -37.80)
CIE-LCHlch(10.90, 43.64, 299.99°)
OKLaboklab(24.08% 0.0016 -0.1094)
OKLCHoklch(24.08% 0.109 270.8)
XYZxyz(1.9876, 1.2469, 8.1169)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1552 #524C0F
analogous
#0F3752 #0F1552 #2B0F52
triadic
#0F1552 #520F15 #15520F
tetradic
#0F1552 #520F37 #524C0F #0F522B
square
#0F1552 #520F37 #524C0F #0F522B
split-complementary
#0F1552 #522B0F #37520F
monochromatic
#05071A #06081E #0F1552 #182286 #222FB9

Accessibility & contrast

On white

16.81
#0F1552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1552
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1552#FFFFFF#000000##FFFFFF
##0F15521.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001A51
Tritanopia (blue-blind)
#002631
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f1552;
/* rgb */ color: rgb(15, 21, 82);
/* oklch */ color: oklch(24.1% 0.109 270.8);
Tailwind
colors: {
  custom: {
    50: '#5a5283',
    500: '#0f1552',
    950: '#000000',
  },
}
SCSS
$custom: #0f1552;
$custom-light: #5a5283;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1552",
  "rgb": {
    "r": 15,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 234.627,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24078,
    "c": 0.10937,
    "h": 270.8
  },
  "luminance": 0.01247
}

Semantic roles & 50–950 ramp

primary
#0F1552
secondary
#8C8431
accent
#DC3CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1552

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

Preview Lab → · Contrast checker → · Palette generator →

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