#0F1752#0F1752

#0F1752 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.107 H 270.1°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#0F1752
RGBrgb(15, 23, 82)
HSLhsl(233, 69%, 19%)
HSVhsv(233, 82%, 32%)
CMYKcmyk(81.7%, 72%, 0%, 67.8%)
CIE-LABlab(11.44, 20.37, -36.91)
CIE-LCHlch(11.44, 42.16, 298.89°)
OKLaboklab(24.47% 0.0003 -0.1068)
OKLCHoklch(24.47% 0.107 270.1)
XYZxyz(2.0259, 1.3233, 8.1297)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1752 #524A0F
analogous
#0F3952 #0F1752 #290F52
triadic
#0F1752 #520F17 #17520F
tetradic
#0F1752 #520F39 #524A0F #0F5229
square
#0F1752 #520F39 #524A0F #0F5229
split-complementary
#0F1752 #52290F #39520F
monochromatic
#05071A #06081E #0F1752 #182686 #2234B9

Accessibility & contrast

On white

16.60
#0F1752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0F1752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1752
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1752#FFFFFF#000000##FFFFFF
##0F17521.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002732
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1752;
/* rgb */ color: rgb(15, 23, 82);
/* oklch */ color: oklch(24.5% 0.107 270.1);
Tailwind
colors: {
  custom: {
    50: '#5a5483',
    500: '#0f1752',
    950: '#000000',
  },
}
SCSS
$custom: #0f1752;
$custom-light: #5a5483;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1752",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 232.836,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2447,
    "c": 0.10677,
    "h": 270.1
  },
  "luminance": 0.01324
}

Semantic roles & 50–950 ramp

primary
#0F1752
secondary
#8C8131
accent
#D73CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1752

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

Preview Lab → · Contrast checker → · Palette generator →

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