#0F0F45#0F0F45

#0F0F45 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.098 H 274.4°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#0F0F45
RGBrgb(15, 15, 69)
HSLhsl(240, 64%, 16%)
HSVhsv(240, 78%, 27%)
CMYKcmyk(78.3%, 78.3%, 0%, 72.9%)
CIE-LABlab(7.88, 20.82, -33.73)
CIE-LCHlch(7.88, 39.64, 301.69°)
OKLaboklab(21.46% 0.0075 -0.0975)
OKLCHoklch(21.46% 0.098 274.4)
XYZxyz(1.4416, 0.8727, 5.7216)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F45 #45450F
analogous
#0F2A45 #0F0F45 #2A0F45
triadic
#0F0F45 #450F0F #0F450F
tetradic
#0F0F45 #450F2A #45450F #0F452A
square
#0F0F45 #450F2A #45450F #0F452A
split-complementary
#0F0F45 #452A0F #2A450F
monochromatic
#050519 #050519 #0F0F45 #1A1A77 #2525AA

Accessibility & contrast

On white

17.88
#0F0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0F0F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F45
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F45#FFFFFF#000000##FFFFFF
##0F0F451.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0f45;
/* rgb */ color: rgb(15, 15, 69);
/* oklch */ color: oklch(21.5% 0.098 274.4);
Tailwind
colors: {
  custom: {
    50: '#574d79',
    500: '#0f0f45',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f45;
$custom-light: #574d79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f45",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 240,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21462,
    "c": 0.09779,
    "h": 274.4
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#0F0F45
secondary
#7F7F30
accent
#E741E7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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