#0A0438#0A0438

#0A0438 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.4% C 0.095 H 276.5°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#0A0438
RGBrgb(10, 4, 56)
HSLhsl(247, 87%, 12%)
HSVhsv(247, 93%, 22%)
CMYKcmyk(82.1%, 92.9%, 0%, 78%)
CIE-LABlab(3.95, 19.11, -30.85)
CIE-LCHlch(3.95, 36.28, 301.77°)
OKLaboklab(17.39% 0.0107 -0.094)
OKLCHoklch(17.39% 0.095 276.5)
XYZxyz(0.8822, 0.4368, 3.7784)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0438 #323804
analogous
#041838 #0A0438 #240438
triadic
#0A0438 #380A04 #04380A
tetradic
#0A0438 #380418 #323804 #043824
square
#0A0438 #380418 #323804 #043824
split-complementary
#0A0438 #382404 #183804
monochromatic
#05021D #05021D #0A0438 #140871 #1E0CAA

Accessibility & contrast

On white

19.31
#0A0438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0A0438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0438
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0438#FFFFFF#000000##FFFFFF
##0A04381.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001039
Deuteranopia (green-blind)
#000C37
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0a0438;
/* rgb */ color: rgb(10, 4, 56);
/* oklch */ color: oklch(17.4% 0.095 276.5);
Tailwind
colors: {
  custom: {
    50: '#50476f',
    500: '#0a0438',
    950: '#000000',
  },
}
SCSS
$custom: #0a0438;
$custom-light: #50476f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0438",
  "rgb": {
    "r": 10,
    "g": 4,
    "b": 56
  },
  "hsl": {
    "h": 246.923,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17394,
    "c": 0.09465,
    "h": 276.5
  },
  "luminance": 0.00437
}

Semantic roles & 50–950 ramp

primary
#0A0438
secondary
#6F7A1E
accent
#FD2BE5
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0A0438

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

Preview Lab → · Contrast checker → · Palette generator →

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