#0A0A35#0A0A35

#0A0A35 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.081 H 274.7°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#0A0A35
RGBrgb(10, 10, 53)
HSLhsl(240, 68%, 12%)
HSVhsv(240, 81%, 21%)
CMYKcmyk(81.1%, 81.1%, 0%, 79.2%)
CIE-LABlab(4.87, 14.90, -27.16)
CIE-LCHlch(4.87, 30.98, 298.75°)
OKLaboklab(18.25% 0.0067 -0.0811)
OKLCHoklch(18.25% 0.081 274.7)
XYZxyz(0.8761, 0.5386, 3.4253)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0A35 #35350A
analogous
#0A2035 #0A0A35 #200A35
triadic
#0A0A35 #350A0A #0A350A
tetradic
#0A0A35 #350A20 #35350A #0A3520
square
#0A0A35 #350A20 #35350A #0A3520
split-complementary
#0A0A35 #35200A #20350A
monochromatic
#05051A #05051A #0A0A35 #141468 #1D1D9C

Accessibility & contrast

On white

18.96
#0A0A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0A0A35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0A35
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0A35#FFFFFF#000000##FFFFFF
##0A0A351.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#000E34
Tritanopia (blue-blind)
#00161E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0a0a35;
/* rgb */ color: rgb(10, 10, 53);
/* oklch */ color: oklch(18.2% 0.081 274.7);
Tailwind
colors: {
  custom: {
    50: '#4f4a6d',
    500: '#0a0a35',
    950: '#000000',
  },
}
SCSS
$custom: #0a0a35;
$custom-light: #4f4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0a35",
  "rgb": {
    "r": 10,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 240,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.18247,
    "c": 0.08141,
    "h": 274.7
  },
  "luminance": 0.00539
}

Semantic roles & 50–950 ramp

primary
#0A0A35
secondary
#727228
accent
#EB3DEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #0A0A35

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

Preview Lab → · Contrast checker → · Palette generator →

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