#0F0D45#0F0D45

#0F0D45 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.100 H 275.1°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#0F0D45
RGBrgb(15, 13, 69)
HSLhsl(242, 68%, 16%)
HSVhsv(242, 81%, 27%)
CMYKcmyk(78.3%, 81.2%, 0%, 72.9%)
CIE-LABlab(7.40, 22.14, -34.53)
CIE-LCHlch(7.40, 41.02, 302.67°)
OKLaboklab(21.1% 0.0089 -0.0999)
OKLCHoklch(21.1% 0.1 275.1)
XYZxyz(1.4147, 0.8189, 5.7126)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D45 #43450D
analogous
#0D2745 #0F0D45 #2B0D45
triadic
#0F0D45 #450F0D #0D450F
tetradic
#0F0D45 #450D27 #43450D #0D452B
square
#0F0D45 #450D27 #43450D #0D452B
split-complementary
#0F0D45 #452B0D #27450D
monochromatic
#06051A #06051A #0F0D45 #1A1778 #2520AC

Accessibility & contrast

On white

18.04
#0F0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F0D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0D45
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D45#FFFFFF#000000##FFFFFF
##0F0D451.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001444
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0d45;
/* rgb */ color: rgb(15, 13, 69);
/* oklch */ color: oklch(21.1% 0.100 275.1);
Tailwind
colors: {
  custom: {
    50: '#574c79',
    500: '#0f0d45',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d45;
$custom-light: #574c79;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d45",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 242.143,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21103,
    "c": 0.1003,
    "h": 275.1
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#0F0D45
secondary
#7D802D
accent
#EB3DE5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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