#0F0F37#0F0F37

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

Color values

HEX#0F0F37
RGBrgb(15, 15, 55)
HSLhsl(240, 57%, 14%)
HSVhsv(240, 73%, 22%)
CMYKcmyk(72.7%, 72.7%, 0%, 78.4%)
CIE-LABlab(6.49, 14.65, -25.98)
CIE-LCHlch(6.49, 29.82, 299.42°)
OKLaboklab(19.92% 0.0093 -0.0753)
OKLCHoklch(19.92% 0.076 277)
XYZxyz(1.0572, 0.7190, 3.6968)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F37 #37370F
analogous
#0F2337 #0F0F37 #230F37
triadic
#0F0F37 #370F0F #0F370F
tetradic
#0F0F37 #370F23 #37370F #0F3723
square
#0F0F37 #370F23 #37370F #0F3723
split-complementary
#0F0F37 #37230F #23370F
monochromatic
#070718 #070718 #0F0F37 #1C1C67 #292997

Accessibility & contrast

On white

18.36
#0F0F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0F0F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0F37
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F37#FFFFFF#000000##FFFFFF
##0F0F371.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0f37;
/* rgb */ color: rgb(15, 15, 55);
/* oklch */ color: oklch(19.9% 0.076 277.0);
Tailwind
colors: {
  custom: {
    50: '#534d6e',
    500: '#0f0f37',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f37;
$custom-light: #534d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f37",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 240,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19918,
    "c": 0.07589,
    "h": 277
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#0F0F37
secondary
#717131
accent
#E047E0
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #0F0F37

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

Preview Lab → · Contrast checker → · Palette generator →

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