#0F1642#0F1642

#0F1642 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.083 H 271.2°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#0F1642
RGBrgb(15, 22, 66)
HSLhsl(232, 63%, 16%)
HSVhsv(232, 77%, 26%)
CMYKcmyk(77.3%, 66.7%, 0%, 74.1%)
CIE-LABlab(9.55, 14.36, -28.89)
CIE-LCHlch(9.55, 32.26, 296.42°)
OKLaboklab(22.59% 0.0018 -0.0833)
OKLCHoklch(22.59% 0.083 271.2)
XYZxyz(1.4669, 1.0686, 5.2821)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1642 #423B0F
analogous
#0F2F42 #0F1642 #210F42
triadic
#0F1642 #420F16 #16420F
tetradic
#0F1642 #420F2F #423B0F #0F4221
square
#0F1642 #420F2F #423B0F #0F4221
split-complementary
#0F1642 #42210F #2F420F
monochromatic
#060819 #060819 #0F1642 #1A2774 #2637A6

Accessibility & contrast

On white

17.30
#0F1642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F1642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1642
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1642#FFFFFF#000000##FFFFFF
##0F16421.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#002129
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1642;
/* rgb */ color: rgb(15, 22, 66);
/* oklch */ color: oklch(22.6% 0.083 271.2);
Tailwind
colors: {
  custom: {
    50: '#555277',
    500: '#0f1642',
    950: '#000000',
  },
}
SCSS
$custom: #0f1642;
$custom-light: #555277;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1642",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 231.765,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22586,
    "c": 0.08328,
    "h": 271.2
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#0F1642
secondary
#7C7230
accent
#CF42E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F1642

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

Preview Lab → · Contrast checker → · Palette generator →

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