#0F1645#0F1645

#0F1645 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.088 H 271.1°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#0F1645
RGBrgb(15, 22, 69)
HSLhsl(232, 64%, 16%)
HSVhsv(232, 78%, 27%)
CMYKcmyk(78.3%, 68.1%, 0%, 72.9%)
CIE-LABlab(9.84, 15.64, -30.53)
CIE-LCHlch(9.84, 34.31, 297.12°)
OKLaboklab(22.89% 0.0017 -0.0881)
OKLCHoklch(22.89% 0.088 271.1)
XYZxyz(1.5577, 1.1049, 5.7602)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1645 #453E0F
analogous
#0F3145 #0F1645 #230F45
triadic
#0F1645 #450F16 #16450F
tetradic
#0F1645 #450F31 #453E0F #0F4523
square
#0F1645 #450F31 #453E0F #0F4523
split-complementary
#0F1645 #45230F #31450F
monochromatic
#050819 #050819 #0F1645 #1A2677 #2536AA

Accessibility & contrast

On white

17.20
#0F1645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0F1645 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1645
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1645#FFFFFF#000000##FFFFFF
##0F16451.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1645;
/* rgb */ color: rgb(15, 22, 69);
/* oklch */ color: oklch(22.9% 0.088 271.1);
Tailwind
colors: {
  custom: {
    50: '#565279',
    500: '#0f1645',
    950: '#000000',
  },
}
SCSS
$custom: #0f1645;
$custom-light: #565279;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1645",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 232.222,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22887,
    "c": 0.08811,
    "h": 271.1
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#0F1645
secondary
#7F7530
accent
#D241E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0F1645

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

Preview Lab → · Contrast checker → · Palette generator →

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