#0F1045#0F1045

#0F1045 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.096 H 274.0°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#0F1045
RGBrgb(15, 16, 69)
HSLhsl(239, 64%, 16%)
HSVhsv(239, 78%, 27%)
CMYKcmyk(78.3%, 76.8%, 0%, 72.9%)
CIE-LABlab(8.14, 20.11, -33.30)
CIE-LCHlch(8.14, 38.91, 301.13°)
OKLaboklab(21.65% 0.0068 -0.0962)
OKLCHoklch(21.65% 0.096 274)
XYZxyz(1.4561, 0.9017, 5.7264)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1045 #45440F
analogous
#0F2B45 #0F1045 #290F45
triadic
#0F1045 #450F10 #10450F
tetradic
#0F1045 #450F2B #45440F #0F4529
square
#0F1045 #450F2B #45440F #0F4529
split-complementary
#0F1045 #45290F #2B450F
monochromatic
#050619 #050619 #0F1045 #1A1C77 #2527AA

Accessibility & contrast

On white

17.79
#0F1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0F1045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1045
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1045#FFFFFF#000000##FFFFFF
##0F10451.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001544
Tritanopia (blue-blind)
#001E28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0f1045;
/* rgb */ color: rgb(15, 16, 69);
/* oklch */ color: oklch(21.6% 0.096 274.0);
Tailwind
colors: {
  custom: {
    50: '#574e79',
    500: '#0f1045',
    950: '#000000',
  },
}
SCSS
$custom: #0f1045;
$custom-light: #574e79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1045",
  "rgb": {
    "r": 15,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 238.889,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2165,
    "c": 0.09649,
    "h": 274
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#0F1045
secondary
#7F7E30
accent
#E441E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0F1045

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

Preview Lab → · Contrast checker → · Palette generator →

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