#0F0A35#0F0A35

#0F0A35 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.080 H 280.6°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#0F0A35
RGBrgb(15, 10, 53)
HSLhsl(247, 68%, 12%)
HSVhsv(247, 81%, 21%)
CMYKcmyk(71.7%, 81.1%, 0%, 79.2%)
CIE-LABlab(5.20, 16.25, -26.61)
CIE-LCHlch(5.20, 31.17, 301.41°)
OKLaboklab(18.69% 0.0147 -0.0787)
OKLCHoklch(18.69% 0.08 280.6)
XYZxyz(0.9479, 0.5756, 3.4286)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0A35 #30350A
analogous
#0A1A35 #0F0A35 #250A35
triadic
#0F0A35 #350F0A #0A350F
tetradic
#0F0A35 #350A1A #30350A #0A3525
square
#0F0A35 #350A1A #30350A #0A3525
split-complementary
#0F0A35 #35250A #1A350A
monochromatic
#07051A #07051A #0F0A35 #1E1468 #2C1D9C

Accessibility & contrast

On white

18.83
#0F0A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0A35
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0A35#FFFFFF#000000##FFFFFF
##0F0A351.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#001034
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f0a35;
/* rgb */ color: rgb(15, 10, 53);
/* oklch */ color: oklch(18.7% 0.080 280.6);
Tailwind
colors: {
  custom: {
    50: '#524a6d',
    500: '#0f0a35',
    950: '#000000',
  },
}
SCSS
$custom: #0f0a35;
$custom-light: #524a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0a35",
  "rgb": {
    "r": 15,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 246.977,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18692,
    "c": 0.08007,
    "h": 280.6
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#0F0A35
secondary
#6A7228
accent
#EB3DD7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0F0A35

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

Preview Lab → · Contrast checker → · Palette generator →

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