#0F1648#0F1648

#0F1648 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.093 H 271.0°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#0F1648
RGBrgb(15, 22, 72)
HSLhsl(233, 66%, 17%)
HSVhsv(233, 79%, 28%)
CMYKcmyk(79.2%, 69.4%, 0%, 71.8%)
CIE-LABlab(10.13, 16.92, -32.15)
CIE-LCHlch(10.13, 36.33, 297.75°)
OKLaboklab(23.2% 0.0016 -0.0928)
OKLCHoklch(23.2% 0.093 271)
XYZxyz(1.6532, 1.1431, 6.2631)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1648 #48410F
analogous
#0F3348 #0F1648 #250F48
triadic
#0F1648 #480F16 #16480F
tetradic
#0F1648 #480F33 #48410F #0F4825
square
#0F1648 #480F33 #48410F #0F4825
split-complementary
#0F1648 #48250F #33480F
monochromatic
#050819 #050819 #0F1648 #1A257B #2435AD

Accessibility & contrast

On white

17.09
#0F1648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0F1648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1648
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1648#FFFFFF#000000##FFFFFF
##0F16481.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001947
Tritanopia (blue-blind)
#00232C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f1648;
/* rgb */ color: rgb(15, 22, 72);
/* oklch */ color: oklch(23.2% 0.093 271.0);
Tailwind
colors: {
  custom: {
    50: '#57537b',
    500: '#0f1648',
    950: '#000000',
  },
}
SCSS
$custom: #0f1648;
$custom-light: #57537b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1648",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 232.632,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23196,
    "c": 0.09284,
    "h": 271
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#0F1648
secondary
#827830
accent
#D43FE8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0F1648

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

Preview Lab → · Contrast checker → · Palette generator →

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