#0F1852#0F1852

#0F1852 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.105 H 269.8°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#0F1852
RGBrgb(15, 24, 82)
HSLhsl(232, 69%, 19%)
HSVhsv(232, 82%, 32%)
CMYKcmyk(81.7%, 70.7%, 0%, 67.8%)
CIE-LABlab(11.71, 19.63, -36.46)
CIE-LCHlch(11.71, 41.41, 298.30°)
OKLaboklab(24.67% -0.0004 -0.1054)
OKLCHoklch(24.67% 0.105 269.8)
XYZxyz(2.0461, 1.3638, 8.1364)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1852 #52490F
analogous
#0F3A52 #0F1852 #280F52
triadic
#0F1852 #520F18 #18520F
tetradic
#0F1852 #520F3A #52490F #0F5228
square
#0F1852 #520F3A #52490F #0F5228
split-complementary
#0F1852 #52280F #3A520F
monochromatic
#05081A #06091E #0F1852 #182786 #2236B9

Accessibility & contrast

On white

16.50
#0F1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0F1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1852
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1852#FFFFFF#000000##FFFFFF
##0F18521.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1852;
/* rgb */ color: rgb(15, 24, 82);
/* oklch */ color: oklch(24.7% 0.105 269.8);
Tailwind
colors: {
  custom: {
    50: '#5a5483',
    500: '#0f1852',
    950: '#000000',
  },
}
SCSS
$custom: #0f1852;
$custom-light: #5a5483;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1852",
  "rgb": {
    "r": 15,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 231.94,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24673,
    "c": 0.10543,
    "h": 269.8
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#0F1852
secondary
#8C8031
accent
#D43CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1852

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

Preview Lab → · Contrast checker → · Palette generator →

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