#0A0839#0A0839

#0A0839 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.090 H 274.7°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#0A0839
RGBrgb(10, 8, 57)
HSLhsl(242, 75%, 13%)
HSVhsv(242, 86%, 22%)
CMYKcmyk(82.5%, 86%, 0%, 77.6%)
CIE-LABlab(4.82, 17.98, -30.16)
CIE-LCHlch(4.82, 35.11, 300.80°)
OKLaboklab(18.35% 0.0075 -0.09)
OKLCHoklch(18.35% 0.09 274.7)
XYZxyz(0.9503, 0.5335, 3.9230)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0839 #373908
analogous
#081E39 #0A0839 #220839
triadic
#0A0839 #390A08 #08390A
tetradic
#0A0839 #39081E #373908 #083922
square
#0A0839 #39081E #373908 #083922
split-complementary
#0A0839 #392208 #1E3908
monochromatic
#05041B #05041B #0A0839 #13106F #1D17A4

Accessibility & contrast

On white

18.97
#0A0839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0A0839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0839
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0839#FFFFFF#000000##FFFFFF
##0A08391.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0a0839;
/* rgb */ color: rgb(10, 8, 57);
/* oklch */ color: oklch(18.3% 0.090 274.7);
Tailwind
colors: {
  custom: {
    50: '#514970',
    500: '#0a0839',
    950: '#000000',
  },
}
SCSS
$custom: #0a0839;
$custom-light: #514970;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0839",
  "rgb": {
    "r": 10,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 242.449,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18347,
    "c": 0.09027,
    "h": 274.7
  },
  "luminance": 0.00534
}

Semantic roles & 50–950 ramp

primary
#0A0839
secondary
#747825
accent
#F236EA
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0A0839

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

Preview Lab → · Contrast checker → · Palette generator →

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