#0A0F47#0A0F47

#0A0F47 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.102 H 270.3°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#0A0F47
RGBrgb(10, 15, 71)
HSLhsl(235, 75%, 16%)
HSVhsv(235, 86%, 28%)
CMYKcmyk(85.9%, 78.9%, 0%, 72.2%)
CIE-LABlab(7.78, 21.03, -35.33)
CIE-LCHlch(7.78, 41.11, 300.76°)
OKLaboklab(21.36% 0.0006 -0.1023)
OKLCHoklch(21.36% 0.102 270.3)
XYZxyz(1.4329, 0.8610, 6.0507)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F47 #47420A
analogous
#0A2D47 #0A0F47 #230A47
triadic
#0A0F47 #470A0F #0F470A
tetradic
#0A0F47 #470A2D #47420A #0A4723
square
#0A0F47 #470A2D #47420A #0A4723
split-complementary
#0A0F47 #47230A #2D470A
monochromatic
#04061B #04061B #0A0F47 #121A7D #1926B2

Accessibility & contrast

On white

17.92
#0A0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0F47
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F47#FFFFFF#000000##FFFFFF
##0A0F471.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001446
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0a0f47;
/* rgb */ color: rgb(10, 15, 71);
/* oklch */ color: oklch(21.4% 0.102 270.3);
Tailwind
colors: {
  custom: {
    50: '#564d7b',
    500: '#0a0f47',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f47;
$custom-light: #564d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f47",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 235.082,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21363,
    "c": 0.10229,
    "h": 270.3
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#0A0F47
secondary
#847C29
accent
#E236F2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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