#0F0641#0F0641

#0F0641 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.103 H 278.2°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#0F0641
RGBrgb(15, 6, 65)
HSLhsl(249, 83%, 14%)
HSVhsv(249, 91%, 25%)
CMYKcmyk(76.9%, 90.8%, 0%, 74.5%)
CIE-LABlab(5.54, 24.09, -34.74)
CIE-LCHlch(5.54, 42.28, 304.74°)
OKLaboklab(19.45% 0.0147 -0.1019)
OKLCHoklch(19.45% 0.103 278.2)
XYZxyz(1.2160, 0.6134, 5.0543)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0641 #384106
analogous
#061B41 #0F0641 #2D0641
triadic
#0F0641 #410F06 #06410F
tetradic
#0F0641 #41061B #384106 #06412D
square
#0F0641 #41061B #384106 #06412D
split-complementary
#0F0641 #412D06 #1B4106
monochromatic
#06031C #06031C #0F0641 #1C0B79 #2910B1

Accessibility & contrast

On white

18.71
#0F0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0F0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0641
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0641#FFFFFF#000000##FFFFFF
##0F06411.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f0641;
/* rgb */ color: rgb(15, 6, 65);
/* oklch */ color: oklch(19.4% 0.103 278.2);
Tailwind
colors: {
  custom: {
    50: '#564876',
    500: '#0f0641',
    950: '#000000',
  },
}
SCSS
$custom: #0f0641;
$custom-light: #564876;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0641",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 249.153,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19445,
    "c": 0.10293,
    "h": 278.2
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#0F0641
secondary
#728122
accent
#F92EDA
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0F0641

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

Preview Lab → · Contrast checker → · Palette generator →

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