#0F1352#0F1352

#0F1352 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.112 H 271.4°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#0F1352
RGBrgb(15, 19, 82)
HSLhsl(236, 69%, 19%)
HSVhsv(236, 82%, 32%)
CMYKcmyk(81.7%, 76.8%, 0%, 67.8%)
CIE-LABlab(10.38, 23.22, -38.65)
CIE-LCHlch(10.38, 45.09, 301.00°)
OKLaboklab(23.7% 0.0028 -0.1118)
OKLCHoklch(23.7% 0.112 271.4)
XYZxyz(1.9523, 1.1763, 8.1052)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1352 #524E0F
analogous
#0F3552 #0F1352 #2D0F52
triadic
#0F1352 #520F13 #13520F
tetradic
#0F1352 #520F35 #524E0F #0F522D
square
#0F1352 #520F35 #524E0F #0F522D
split-complementary
#0F1352 #522D0F #35520F
monochromatic
#05061A #06071E #0F1352 #181F86 #222BB9

Accessibility & contrast

On white

17.00
#0F1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1352
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1352#FFFFFF#000000##FFFFFF
##0F13521.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1352;
/* rgb */ color: rgb(15, 19, 82);
/* oklch */ color: oklch(23.7% 0.112 271.4);
Tailwind
colors: {
  custom: {
    50: '#5a5183',
    500: '#0f1352',
    950: '#000000',
  },
}
SCSS
$custom: #0f1352;
$custom-light: #5a5183;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1352",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 236.418,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23704,
    "c": 0.11189,
    "h": 271.4
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#0F1352
secondary
#8C8731
accent
#E13CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1352

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

Preview Lab → · Contrast checker → · Palette generator →

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