#0A0A33#0A0A33

#0A0A33 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.078 H 275.2°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#0A0A33
RGBrgb(10, 10, 51)
HSLhsl(240, 67%, 12%)
HSVhsv(240, 80%, 20%)
CMYKcmyk(80.4%, 80.4%, 0%, 80%)
CIE-LABlab(4.70, 13.78, -25.95)
CIE-LCHlch(4.70, 29.38, 297.96°)
OKLaboklab(18.01% 0.0071 -0.0779)
OKLCHoklch(18.01% 0.078 275.2)
XYZxyz(0.8311, 0.5206, 3.1880)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A33 #33330A
analogous
#0A1F33 #0A0A33 #1F0A33
triadic
#0A0A33 #330A0A #0A330A
tetradic
#0A0A33 #330A1F #33330A #0A331F
square
#0A0A33 #330A1F #33330A #0A331F
split-complementary
#0A0A33 #331F0A #1F330A
monochromatic
#05051A #05051A #0A0A33 #141466 #1E1E99

Accessibility & contrast

On white

19.02
#0A0A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0A33
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A33#FFFFFF#000000##FFFFFF
##0A0A331.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#000E32
Tritanopia (blue-blind)
#00151D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0a0a33;
/* rgb */ color: rgb(10, 10, 51);
/* oklch */ color: oklch(18.0% 0.078 275.2);
Tailwind
colors: {
  custom: {
    50: '#4f4a6b',
    500: '#0a0a33',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a33;
$custom-light: #4f4a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a33",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 240,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18011,
    "c": 0.07824,
    "h": 275.2
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#0A0A33
secondary
#707028
accent
#EA3EEA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0A0A33

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

Preview Lab → · Contrast checker → · Palette generator →

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