#0F1652#0F1652

#0F1652 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.108 H 270.5°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#0F1652
RGBrgb(15, 22, 82)
HSLhsl(234, 69%, 19%)
HSVhsv(234, 82%, 32%)
CMYKcmyk(81.7%, 73.2%, 0%, 67.8%)
CIE-LABlab(11.17, 21.09, -37.36)
CIE-LCHlch(11.17, 42.90, 299.45°)
OKLaboklab(24.27% 0.0009 -0.1081)
OKLCHoklch(24.27% 0.108 270.5)
XYZxyz(2.0064, 1.2844, 8.1232)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1652 #524B0F
analogous
#0F3852 #0F1652 #2A0F52
triadic
#0F1652 #520F16 #16520F
tetradic
#0F1652 #520F38 #524B0F #0F522A
square
#0F1652 #520F38 #524B0F #0F522A
split-complementary
#0F1652 #522A0F #38520F
monochromatic
#05071A #06081E #0F1652 #182486 #2232B9

Accessibility & contrast

On white

16.71
#0F1652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1652
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1652#FFFFFF#000000##FFFFFF
##0F16521.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1652;
/* rgb */ color: rgb(15, 22, 82);
/* oklch */ color: oklch(24.3% 0.108 270.5);
Tailwind
colors: {
  custom: {
    50: '#5a5383',
    500: '#0f1652',
    950: '#000000',
  },
}
SCSS
$custom: #0f1652;
$custom-light: #5a5383;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1652",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 233.731,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24272,
    "c": 0.10808,
    "h": 270.5
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#0F1652
secondary
#8C8331
accent
#DA3CEC
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1652

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

Preview Lab → · Contrast checker → · Palette generator →

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