#0A0A3F#0A0A3F

#0A0A3F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.5% C 0.097 H 272.9°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#0A0A3F
RGBrgb(10, 10, 63)
HSLhsl(240, 73%, 14%)
HSVhsv(240, 84%, 25%)
CMYKcmyk(84.1%, 84.1%, 0%, 75.3%)
CIE-LABlab(5.78, 20.24, -32.92)
CIE-LCHlch(5.78, 38.65, 301.58°)
OKLaboklab(19.47% 0.0048 -0.0965)
OKLCHoklch(19.47% 0.097 272.9)
XYZxyz(1.1306, 0.6404, 4.7657)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A3F #3F3F0A
analogous
#0A253F #0A0A3F #250A3F
triadic
#0A0A3F #3F0A0A #0A3F0A
tetradic
#0A0A3F #3F0A25 #3F3F0A #0A3F25
square
#0A0A3F #3F0A25 #3F3F0A #0A3F25
split-complementary
#0A0A3F #3F250A #253F0A
monochromatic
#04041A #04041A #0A0A3F #121274 #1B1BA9

Accessibility & contrast

On white

18.62
#0A0A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0A3F
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A3F#FFFFFF#000000##FFFFFF
##0A0A3F1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00103E
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a0a3f;
/* rgb */ color: rgb(10, 10, 63);
/* oklch */ color: oklch(19.5% 0.097 272.9);
Tailwind
colors: {
  custom: {
    50: '#534a75',
    500: '#0a0a3f',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a3f;
$custom-light: #534a75;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a3f",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 240,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19474,
    "c": 0.0966,
    "h": 272.9
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#0A0A3F
secondary
#7C7C29
accent
#EF38EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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