#0F0D43#0F0D43

#0F0D43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.097 H 275.5°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#0F0D43
RGBrgb(15, 13, 67)
HSLhsl(242, 68%, 16%)
HSVhsv(242, 81%, 26%)
CMYKcmyk(77.6%, 80.6%, 0%, 73.7%)
CIE-LABlab(7.18, 21.30, -33.48)
CIE-LCHlch(7.18, 39.68, 302.46°)
OKLaboklab(20.87% 0.0093 -0.0969)
OKLCHoklch(20.87% 0.097 275.5)
XYZxyz(1.3537, 0.7945, 5.3911)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0D43 #41430D
analogous
#0D2643 #0F0D43 #2A0D43
triadic
#0F0D43 #430F0D #0D430F
tetradic
#0F0D43 #430D26 #41430D #0D432A
square
#0F0D43 #430D26 #41430D #0D432A
split-complementary
#0F0D43 #432A0D #26430D
monochromatic
#06051A #06051A #0F0D43 #1A1776 #2621AA

Accessibility & contrast

On white

18.12
#0F0D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0D43
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0D43#FFFFFF#000000##FFFFFF
##0F0D431.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001342
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0d43;
/* rgb */ color: rgb(15, 13, 67);
/* oklch */ color: oklch(20.9% 0.097 275.5);
Tailwind
colors: {
  custom: {
    50: '#574c78',
    500: '#0f0d43',
    950: '#000000',
  },
}
SCSS
$custom: #0f0d43;
$custom-light: #574c78;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0d43",
  "rgb": {
    "r": 15,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 242.222,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20865,
    "c": 0.09736,
    "h": 275.5
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#0F0D43
secondary
#7B7E2D
accent
#EA3DE4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0F0D43

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

Preview Lab → · Contrast checker → · Palette generator →

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