#0A052F#0A052F

#0A052F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.080 H 279.2°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#0A052F
RGBrgb(10, 5, 47)
HSLhsl(247, 81%, 10%)
HSVhsv(247, 89%, 18%)
CMYKcmyk(78.7%, 89.4%, 0%, 81.6%)
CIE-LABlab(3.42, 13.63, -25.03)
CIE-LCHlch(3.42, 28.50, 298.58°)
OKLaboklab(16.42% 0.0129 -0.0789)
OKLCHoklch(16.42% 0.08 279.2)
XYZxyz(0.6924, 0.3783, 2.7253)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A052F #2A2F05
analogous
#05152F #0A052F #1F052F
triadic
#0A052F #2F0A05 #052F0A
tetradic
#0A052F #2F0515 #2A2F05 #052F1F
square
#0A052F #2F0515 #2A2F05 #052F1F
split-complementary
#0A052F #2F1F05 #152F05
monochromatic
#06031C #06031C #0A052F #160B66 #22119E

Accessibility & contrast

On white

19.52
#0A052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0A052F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A052F
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A052F#FFFFFF#000000##FFFFFF
##0A052F1.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000B2E
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0a052f;
/* rgb */ color: rgb(10, 5, 47);
/* oklch */ color: oklch(16.4% 0.080 279.2);
Tailwind
colors: {
  custom: {
    50: '#4d4868',
    500: '#0a052f',
    950: '#000000',
  },
}
SCSS
$custom: #0a052f;
$custom-light: #4d4868;
$custom-dark: #000000;
JSON
{
  "hex": "#0a052f",
  "rgb": {
    "r": 10,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 247.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16417,
    "c": 0.07998,
    "h": 279.2
  },
  "luminance": 0.00378
}

Semantic roles & 50–950 ramp

primary
#0A052F
secondary
#67711F
accent
#F731E0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0A052F

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

Preview Lab → · Contrast checker → · Palette generator →

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