#0A0F46#0A0F46

#0A0F46 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.2% C 0.101 H 270.4°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#0A0F46
RGBrgb(10, 15, 70)
HSLhsl(235, 75%, 16%)
HSVhsv(235, 86%, 27%)
CMYKcmyk(85.7%, 78.6%, 0%, 72.5%)
CIE-LABlab(7.66, 20.61, -34.81)
CIE-LCHlch(7.66, 40.46, 300.62°)
OKLaboklab(21.24% 0.0008 -0.1008)
OKLCHoklch(21.24% 0.101 270.4)
XYZxyz(1.4011, 0.8482, 5.8830)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F46 #46410A
analogous
#0A2D46 #0A0F46 #230A46
triadic
#0A0F46 #460A0F #0F460A
tetradic
#0A0F46 #460A2D #46410A #0A4623
square
#0A0F46 #460A2D #46410A #0A4623
split-complementary
#0A0F46 #46230A #2D460A
monochromatic
#04061B #04061B #0A0F46 #121A7C #1926B1

Accessibility & contrast

On white

17.95
#0A0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0A0F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0F46
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F46#FFFFFF#000000##FFFFFF
##0A0F461.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a0f46;
/* rgb */ color: rgb(10, 15, 70);
/* oklch */ color: oklch(21.2% 0.101 270.4);
Tailwind
colors: {
  custom: {
    50: '#564d7a',
    500: '#0a0f46',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f46;
$custom-light: #564d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f46",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 235,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21243,
    "c": 0.10081,
    "h": 270.4
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#0A0F46
secondary
#837B29
accent
#E236F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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