#0A0843#0A0843

#0A0843 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.7% C 0.105 H 272.7°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#0A0843
RGBrgb(10, 8, 67)
HSLhsl(242, 79%, 15%)
HSVhsv(242, 88%, 26%)
CMYKcmyk(85.1%, 88.1%, 0%, 73.7%)
CIE-LABlab(5.81, 23.21, -35.73)
CIE-LCHlch(5.81, 42.61, 303.01°)
OKLaboklab(19.65% 0.0049 -0.1046)
OKLCHoklch(19.65% 0.105 272.7)
XYZxyz(1.2248, 0.6433, 5.3687)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0843 #414308
analogous
#082443 #0A0843 #280843
triadic
#0A0843 #430A08 #08430A
tetradic
#0A0843 #430824 #414308 #084328
square
#0A0843 #430824 #414308 #084328
split-complementary
#0A0843 #432808 #244308
monochromatic
#04031B #04031B #0A0843 #120F7A #1A15B0

Accessibility & contrast

On white

18.61
#0A0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0A0843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0843
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0843#FFFFFF#000000##FFFFFF
##0A08431.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001645
Deuteranopia (green-blind)
#001042
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a0843;
/* rgb */ color: rgb(10, 8, 67);
/* oklch */ color: oklch(19.7% 0.105 272.7);
Tailwind
colors: {
  custom: {
    50: '#554978',
    500: '#0a0843',
    950: '#000000',
  },
}
SCSS
$custom: #0a0843;
$custom-light: #554978;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0843",
  "rgb": {
    "r": 10,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 242.034,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19651,
    "c": 0.10471,
    "h": 272.7
  },
  "luminance": 0.00643
}

Semantic roles & 50–950 ramp

primary
#0A0843
secondary
#7E8125
accent
#F533EF
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030109
muted
#78777B

Preview Lab

Preview with #0A0843

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

Preview Lab → · Contrast checker → · Palette generator →

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