#0F0F35#0F0F35

#0F0F35 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.073 H 277.4°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#0F0F35
RGBrgb(15, 15, 53)
HSLhsl(240, 56%, 13%)
HSVhsv(240, 72%, 21%)
CMYKcmyk(71.7%, 71.7%, 0%, 79.2%)
CIE-LABlab(6.32, 13.70, -24.79)
CIE-LCHlch(6.32, 28.33, 298.93°)
OKLaboklab(19.71% 0.0094 -0.072)
OKLCHoklch(19.71% 0.073 277.4)
XYZxyz(1.0102, 0.7002, 3.4494)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F35 #35350F
analogous
#0F2235 #0F0F35 #220F35
triadic
#0F0F35 #350F0F #0F350F
tetradic
#0F0F35 #350F22 #35350F #0F3522
square
#0F0F35 #350F22 #35350F #0F3522
split-complementary
#0F0F35 #35220F #22350F
monochromatic
#070718 #070718 #0F0F35 #1C1C65 #2A2A94

Accessibility & contrast

On white

18.42
#0F0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0F35
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F35#FFFFFF#000000##FFFFFF
##0F0F351.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#001234
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0f0f35;
/* rgb */ color: rgb(15, 15, 53);
/* oklch */ color: oklch(19.7% 0.073 277.4);
Tailwind
colors: {
  custom: {
    50: '#524d6d',
    500: '#0f0f35',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f35;
$custom-light: #524d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f35",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 240,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19712,
    "c": 0.07258,
    "h": 277.4
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#0F0F35
secondary
#6F6F31
accent
#DF49DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0F0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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