#0A052A#0A052A

#0A052A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.8% C 0.072 H 281.4°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#0A052A
RGBrgb(10, 5, 42)
HSLhsl(248, 79%, 9%)
HSVhsv(248, 88%, 16%)
CMYKcmyk(76.2%, 88.1%, 0%, 83.5%)
CIE-LABlab(3.07, 11.22, -21.79)
CIE-LCHlch(3.07, 24.51, 297.24°)
OKLaboklab(15.78% 0.0143 -0.0709)
OKLCHoklch(15.78% 0.072 281.4)
XYZxyz(0.5972, 0.3402, 2.2242)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A052A #252A05
analogous
#05132A #0A052A #1D052A
triadic
#0A052A #2A0A05 #052A0A
tetradic
#0A052A #2A0513 #252A05 #052A1D
square
#0A052A #2A0513 #252A05 #052A1D
split-complementary
#0A052A #2A1D05 #132A05
monochromatic
#07031B #07031B #0A052A #170C61 #241297

Accessibility & contrast

On white

19.66
#0A052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0A052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A052A
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A052A#FFFFFF#000000##FFFFFF
##0A052A1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2B
Deuteranopia (green-blind)
#000A29
Tritanopia (blue-blind)
#000F16
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0a052a;
/* rgb */ color: rgb(10, 5, 42);
/* oklch */ color: oklch(15.8% 0.072 281.4);
Tailwind
colors: {
  custom: {
    50: '#4c4964',
    500: '#0a052a',
    950: '#000000',
  },
}
SCSS
$custom: #0a052a;
$custom-light: #4c4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0a052a",
  "rgb": {
    "r": 10,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 248.108,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15785,
    "c": 0.07235,
    "h": 281.4
  },
  "luminance": 0.0034
}

Semantic roles & 50–950 ramp

primary
#0A052A
secondary
#616C1F
accent
#F533DB
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0A052A

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

Preview Lab → · Contrast checker → · Palette generator →

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