#0F0741#0F0741

#0F0741 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.6% C 0.102 H 277.9°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#0F0741
RGBrgb(15, 7, 65)
HSLhsl(248, 81%, 14%)
HSVhsv(248, 89%, 25%)
CMYKcmyk(76.9%, 89.2%, 0%, 74.5%)
CIE-LABlab(5.74, 23.59, -34.42)
CIE-LCHlch(5.74, 41.73, 304.43°)
OKLaboklab(19.62% 0.014 -0.1007)
OKLCHoklch(19.62% 0.102 277.9)
XYZxyz(1.2268, 0.6351, 5.0579)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0741 #394107
analogous
#071C41 #0F0741 #2C0741
triadic
#0F0741 #410F07 #07410F
tetradic
#0F0741 #41071C #394107 #07412C
square
#0F0741 #41071C #394107 #07412C
split-complementary
#0F0741 #412C07 #1C4107
monochromatic
#06031C #06031C #0F0741 #1C0D78 #2913B0

Accessibility & contrast

On white

18.63
#0F0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0F0741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0741
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0741#FFFFFF#000000##FFFFFF
##0F07411.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001040
Tritanopia (blue-blind)
#001824
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f0741;
/* rgb */ color: rgb(15, 7, 65);
/* oklch */ color: oklch(19.6% 0.102 277.9);
Tailwind
colors: {
  custom: {
    50: '#564976',
    500: '#0f0741',
    950: '#000000',
  },
}
SCSS
$custom: #0f0741;
$custom-light: #564976;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0741",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 248.276,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19617,
    "c": 0.10167,
    "h": 277.9
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#0F0741
secondary
#738024
accent
#F731DC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0F0741

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

Preview Lab → · Contrast checker → · Palette generator →

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