#0F0A46#0F0A46

#0F0A46 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.105 H 275.8°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#0F0A46
RGBrgb(15, 10, 70)
HSLhsl(245, 75%, 16%)
HSVhsv(245, 86%, 27%)
CMYKcmyk(78.6%, 85.7%, 0%, 72.5%)
CIE-LABlab(6.87, 24.29, -36.10)
CIE-LCHlch(6.87, 43.51, 303.94°)
OKLaboklab(20.74% 0.0106 -0.1047)
OKLCHoklch(20.74% 0.105 275.8)
XYZxyz(1.4107, 0.7607, 5.8657)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0A46 #41460A
analogous
#0A2346 #0F0A46 #2D0A46
triadic
#0F0A46 #460F0A #0A460F
tetradic
#0F0A46 #460A23 #41460A #0A462D
square
#0F0A46 #460A23 #41460A #0A462D
split-complementary
#0F0A46 #462D0A #23460A
monochromatic
#06041B #06041B #0F0A46 #1A127C #2619B1

Accessibility & contrast

On white

18.23
#0F0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0F0A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0A46
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0A46#FFFFFF#000000##FFFFFF
##0F0A461.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001345
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0f0a46;
/* rgb */ color: rgb(15, 10, 70);
/* oklch */ color: oklch(20.7% 0.105 275.8);
Tailwind
colors: {
  custom: {
    50: '#584a7a',
    500: '#0f0a46',
    950: '#000000',
  },
}
SCSS
$custom: #0f0a46;
$custom-light: #584a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0a46",
  "rgb": {
    "r": 15,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 245,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.20737,
    "c": 0.10519,
    "h": 275.8
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#0F0A46
secondary
#7B8329
accent
#F236E2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #0F0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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