#0A0338#0A0338

#0A0338 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.096 H 276.9°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#0A0338
RGBrgb(10, 3, 56)
HSLhsl(248, 90%, 12%)
HSVhsv(248, 95%, 22%)
CMYKcmyk(82.1%, 94.6%, 0%, 78%)
CIE-LABlab(3.75, 19.52, -31.16)
CIE-LCHlch(3.75, 36.77, 302.06°)
OKLaboklab(17.17% 0.0115 -0.0955)
OKLCHoklch(17.17% 0.096 276.9)
XYZxyz(0.8713, 0.4151, 3.7748)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0338 #313803
analogous
#031738 #0A0338 #250338
triadic
#0A0338 #380A03 #03380A
tetradic
#0A0338 #380317 #313803 #033825
square
#0A0338 #380317 #313803 #033825
split-complementary
#0A0338 #382503 #173803
monochromatic
#05021D #05021D #0A0338 #140672 #1F09AC

Accessibility & contrast

On white

19.39
#0A0338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0338
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0338#FFFFFF#000000##FFFFFF
##0A03381.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a0338;
/* rgb */ color: rgb(10, 3, 56);
/* oklch */ color: oklch(17.2% 0.096 276.9);
Tailwind
colors: {
  custom: {
    50: '#50476f',
    500: '#0a0338',
    950: '#000000',
  },
}
SCSS
$custom: #0a0338;
$custom-light: #50476f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0338",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 247.925,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.17174,
    "c": 0.09623,
    "h": 276.9
  },
  "luminance": 0.00415
}

Semantic roles & 50–950 ramp

primary
#0A0338
secondary
#6E7B1C
accent
#FF29E3
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0A0338

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

Preview Lab → · Contrast checker → · Palette generator →

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