#0A0340#0A0340

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

Color values

HEX#0A0340
RGBrgb(10, 3, 64)
HSLhsl(247, 91%, 13%)
HSVhsv(247, 95%, 25%)
CMYKcmyk(84.4%, 95.3%, 0%, 74.9%)
CIE-LABlab(4.51, 24.08, -35.72)
CIE-LCHlch(4.51, 43.08, 303.99°)
OKLaboklab(18.33% 0.0084 -0.1066)
OKLCHoklch(18.33% 0.107 274.5)
XYZxyz(1.0828, 0.4997, 4.8889)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0340 #394003
analogous
#031A40 #0A0340 #280340
triadic
#0A0340 #400A03 #03400A
tetradic
#0A0340 #40031A #394003 #034028
square
#0A0340 #40031A #394003 #034028
split-complementary
#0A0340 #402803 #1A4003
monochromatic
#05011D #05011D #0A0340 #13067A #1C08B5

Accessibility & contrast

On white

19.09
#0A0340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0A0340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0340
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0340#FFFFFF#000000##FFFFFF
##0A03401.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001242
Deuteranopia (green-blind)
#000D3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0a0340;
/* rgb */ color: rgb(10, 3, 64);
/* oklch */ color: oklch(18.3% 0.107 274.5);
Tailwind
colors: {
  custom: {
    50: '#544676',
    500: '#0a0340',
    950: '#000000',
  },
}
SCSS
$custom: #0a0340;
$custom-light: #544676;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0340",
  "rgb": {
    "r": 10,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 246.885,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18325,
    "c": 0.10694,
    "h": 274.5
  },
  "luminance": 0.005
}

Semantic roles & 50–950 ramp

primary
#0A0340
secondary
#76821D
accent
#FF29E6
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0A0340

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

Preview Lab → · Contrast checker → · Palette generator →

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