#0A1335#0A1335

#0A1335 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.068 H 268.5°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#0A1335
RGBrgb(10, 19, 53)
HSLhsl(227, 68%, 12%)
HSVhsv(227, 81%, 21%)
CMYKcmyk(81.1%, 64.2%, 0%, 79.2%)
CIE-LABlab(7.11, 9.96, -23.54)
CIE-LCHlch(7.11, 25.56, 292.93°)
OKLaboklab(20.27% -0.0018 -0.0679)
OKLCHoklch(20.27% 0.068 268.5)
XYZxyz(1.0004, 0.7872, 3.4667)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1335 #352C0A
analogous
#0A2935 #0A1335 #170A35
triadic
#0A1335 #350A13 #13350A
tetradic
#0A1335 #350A29 #352C0A #0A3517
square
#0A1335 #350A29 #352C0A #0A3517
split-complementary
#0A1335 #35170A #29350A
monochromatic
#05091A #05091A #0A1335 #142568 #1D389C

Accessibility & contrast

On white

18.14
#0A1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0A1335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1335
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1335#FFFFFF#000000##FFFFFF
##0A13351.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001836
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0a1335;
/* rgb */ color: rgb(10, 19, 53);
/* oklch */ color: oklch(20.3% 0.068 268.5);
Tailwind
colors: {
  custom: {
    50: '#50506c',
    500: '#0a1335',
    950: '#000000',
  },
}
SCSS
$custom: #0a1335;
$custom-light: #50506c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1335",
  "rgb": {
    "r": 10,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 227.442,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20271,
    "c": 0.06792,
    "h": 268.5
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#0A1335
secondary
#726328
accent
#C73DEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #0A1335

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

Preview Lab → · Contrast checker → · Palette generator →

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