#0F0743#0F0743

#0F0743 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.104 H 277.3°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#0F0743
RGBrgb(15, 7, 67)
HSLhsl(248, 81%, 15%)
HSVhsv(248, 90%, 26%)
CMYKcmyk(77.6%, 89.6%, 0%, 73.7%)
CIE-LABlab(5.95, 24.53, -35.49)
CIE-LCHlch(5.95, 43.15, 304.65°)
OKLaboklab(19.88% 0.0133 -0.1036)
OKLCHoklch(19.88% 0.104 277.3)
XYZxyz(1.2858, 0.6586, 5.3685)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0743 #3B4307
analogous
#071D43 #0F0743 #2D0743
triadic
#0F0743 #430F07 #07430F
tetradic
#0F0743 #43071D #3B4307 #07432D
square
#0F0743 #43071D #3B4307 #07432D
split-complementary
#0F0743 #432D07 #1D4307
monochromatic
#06031C #06031C #0F0743 #1B0D7A #2813B2

Accessibility & contrast

On white

18.55
#0F0743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0743
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0743#FFFFFF#000000##FFFFFF
##0F07431.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001645
Deuteranopia (green-blind)
#001142
Tritanopia (blue-blind)
#001925
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f0743;
/* rgb */ color: rgb(15, 7, 67);
/* oklch */ color: oklch(19.9% 0.104 277.3);
Tailwind
colors: {
  custom: {
    50: '#574978',
    500: '#0f0743',
    950: '#000000',
  },
}
SCSS
$custom: #0f0743;
$custom-light: #574978;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0743",
  "rgb": {
    "r": 15,
    "g": 7,
    "b": 67
  },
  "hsl": {
    "h": 248,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.19876,
    "c": 0.10443,
    "h": 277.3
  },
  "luminance": 0.00659
}

Semantic roles & 50–950 ramp

primary
#0F0743
secondary
#758224
accent
#F730DD
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040009
muted
#79777B

Preview Lab

Preview with #0F0743

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

Preview Lab → · Contrast checker → · Palette generator →

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