#0F1641#0F1641

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

Color values

HEX#0F1641
RGBrgb(15, 22, 65)
HSLhsl(232, 63%, 16%)
HSVhsv(232, 77%, 25%)
CMYKcmyk(76.9%, 66.2%, 0%, 74.5%)
CIE-LABlab(9.46, 13.93, -28.34)
CIE-LCHlch(9.46, 31.57, 296.18°)
OKLaboklab(22.49% 0.0018 -0.0816)
OKLCHoklch(22.49% 0.082 271.2)
XYZxyz(1.4377, 1.0569, 5.1282)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1641 #413A0F
analogous
#0F2F41 #0F1641 #210F41
triadic
#0F1641 #410F16 #16410F
tetradic
#0F1641 #410F2F #413A0F #0F4121
square
#0F1641 #410F2F #413A0F #0F4121
split-complementary
#0F1641 #41210F #2F410F
monochromatic
#060819 #060819 #0F1641 #1A2773 #2638A4

Accessibility & contrast

On white

17.34
#0F1641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1641
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1641#FFFFFF#000000##FFFFFF
##0F16411.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f1641;
/* rgb */ color: rgb(15, 22, 65);
/* oklch */ color: oklch(22.5% 0.082 271.2);
Tailwind
colors: {
  custom: {
    50: '#555276',
    500: '#0f1641',
    950: '#000000',
  },
}
SCSS
$custom: #0f1641;
$custom-light: #555276;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1641",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 231.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22487,
    "c": 0.08165,
    "h": 271.2
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F1641

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

Preview Lab → · Contrast checker → · Palette generator →

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