#0F1748#0F1748

#0F1748 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.091 H 270.5°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#0F1748
RGBrgb(15, 23, 72)
HSLhsl(232, 66%, 17%)
HSVhsv(232, 79%, 28%)
CMYKcmyk(79.2%, 68.1%, 0%, 71.8%)
CIE-LABlab(10.42, 16.16, -31.67)
CIE-LCHlch(10.42, 35.55, 297.03°)
OKLaboklab(23.41% 0.0008 -0.0914)
OKLCHoklch(23.41% 0.091 270.5)
XYZxyz(1.6727, 1.1821, 6.2696)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1748 #48400F
analogous
#0F3448 #0F1748 #240F48
triadic
#0F1748 #480F17 #17480F
tetradic
#0F1748 #480F34 #48400F #0F4824
square
#0F1748 #480F34 #48400F #0F4824
split-complementary
#0F1748 #48240F #34480F
monochromatic
#050819 #050819 #0F1748 #1A277B #2437AD

Accessibility & contrast

On white

16.98
#0F1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F1748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1748
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1748#FFFFFF#000000##FFFFFF
##0F17481.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1748;
/* rgb */ color: rgb(15, 23, 72);
/* oklch */ color: oklch(23.4% 0.091 270.5);
Tailwind
colors: {
  custom: {
    50: '#57537b',
    500: '#0f1748',
    950: '#000000',
  },
}
SCSS
$custom: #0f1748;
$custom-light: #57537b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1748",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 231.579,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23413,
    "c": 0.09142,
    "h": 270.5
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#0F1748
secondary
#827730
accent
#D13FE8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #0F1748

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

Preview Lab → · Contrast checker → · Palette generator →

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