#0A0339#0A0339

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

Color values

HEX#0A0339
RGBrgb(10, 3, 57)
HSLhsl(248, 90%, 12%)
HSVhsv(248, 95%, 22%)
CMYKcmyk(82.5%, 94.7%, 0%, 77.6%)
CIE-LABlab(3.84, 20.11, -31.75)
CIE-LCHlch(3.84, 37.58, 302.35°)
OKLaboklab(17.32% 0.0111 -0.0969)
OKLCHoklch(17.32% 0.098 276.5)
XYZxyz(0.8960, 0.4250, 3.9049)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0339 #323903
analogous
#031739 #0A0339 #250339
triadic
#0A0339 #390A03 #03390A
tetradic
#0A0339 #390317 #323903 #033925
square
#0A0339 #390317 #323903 #033925
split-complementary
#0A0339 #392503 #173903
monochromatic
#05021D #05021D #0A0339 #140673 #1E09AD

Accessibility & contrast

On white

19.35
#0A0339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0339
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0339#FFFFFF#000000##FFFFFF
##0A03391.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103A
Deuteranopia (green-blind)
#000B38
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0a0339;
/* rgb */ color: rgb(10, 3, 57);
/* oklch */ color: oklch(17.3% 0.098 276.5);
Tailwind
colors: {
  custom: {
    50: '#514770',
    500: '#0a0339',
    950: '#000000',
  },
}
SCSS
$custom: #0a0339;
$custom-light: #514770;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0339",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 247.778,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17317,
    "c": 0.09759,
    "h": 276.5
  },
  "luminance": 0.00425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0A0339

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

Preview Lab → · Contrast checker → · Palette generator →

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