#0F0640#0F0640

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

Color values

HEX#0F0640
RGBrgb(15, 6, 64)
HSLhsl(249, 83%, 14%)
HSVhsv(249, 91%, 25%)
CMYKcmyk(76.6%, 90.6%, 0%, 74.9%)
CIE-LABlab(5.44, 23.61, -34.19)
CIE-LCHlch(5.44, 41.55, 304.62°)
OKLaboklab(19.31% 0.015 -0.1004)
OKLCHoklch(19.31% 0.102 278.5)
XYZxyz(1.1872, 0.6019, 4.9031)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0640 #374006
analogous
#061A40 #0F0640 #2C0640
triadic
#0F0640 #400F06 #06400F
tetradic
#0F0640 #40061A #374006 #06402C
square
#0F0640 #40061A #374006 #06402C
split-complementary
#0F0640 #402C06 #1A4006
monochromatic
#07031C #07031C #0F0640 #1C0B78 #2910B0

Accessibility & contrast

On white

18.74
#0F0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0640
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0640#FFFFFF#000000##FFFFFF
##0F06401.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#00103F
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f0640;
/* rgb */ color: rgb(15, 6, 64);
/* oklch */ color: oklch(19.3% 0.102 278.5);
Tailwind
colors: {
  custom: {
    50: '#564876',
    500: '#0f0640',
    950: '#000000',
  },
}
SCSS
$custom: #0f0640;
$custom-light: #564876;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0640",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 249.31,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19313,
    "c": 0.10156,
    "h": 278.5
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#0F0640
secondary
#718022
accent
#F92FDA
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0F0640

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

Preview Lab → · Contrast checker → · Palette generator →

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