#0F1452#0F1452

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

Color values

HEX#0F1452
RGBrgb(15, 20, 82)
HSLhsl(236, 69%, 19%)
HSVhsv(236, 82%, 32%)
CMYKcmyk(81.7%, 75.6%, 0%, 67.8%)
CIE-LABlab(10.64, 22.52, -38.23)
CIE-LCHlch(10.64, 44.37, 300.50°)
OKLaboklab(23.89% 0.0022 -0.1106)
OKLCHoklch(23.89% 0.111 271.1)
XYZxyz(1.9696, 1.2109, 8.1109)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1452 #524D0F
analogous
#0F3652 #0F1452 #2C0F52
triadic
#0F1452 #520F14 #14520F
tetradic
#0F1452 #520F36 #524D0F #0F522C
square
#0F1452 #520F36 #524D0F #0F522C
split-complementary
#0F1452 #522C0F #36520F
monochromatic
#05061A #06071E #0F1452 #182186 #222DB9

Accessibility & contrast

On white

16.91
#0F1452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1452
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1452#FFFFFF#000000##FFFFFF
##0F14521.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1452;
/* rgb */ color: rgb(15, 20, 82);
/* oklch */ color: oklch(23.9% 0.111 271.1);
Tailwind
colors: {
  custom: {
    50: '#5a5183',
    500: '#0f1452',
    950: '#000000',
  },
}
SCSS
$custom: #0f1452;
$custom-light: #5a5183;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1452",
  "rgb": {
    "r": 15,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 235.522,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23889,
    "c": 0.11064,
    "h": 271.1
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#0F1452
secondary
#8C8531
accent
#DF3CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1452

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

Preview Lab → · Contrast checker → · Palette generator →

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