#0A1342#0A1342

#0A1342 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.089 H 269.0°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#0A1342
RGBrgb(10, 19, 66)
HSLhsl(230, 74%, 15%)
HSVhsv(230, 85%, 26%)
CMYKcmyk(84.8%, 71.2%, 0%, 74.1%)
CIE-LABlab(8.34, 15.92, -30.88)
CIE-LCHlch(8.34, 34.75, 297.27°)
OKLaboklab(21.6% -0.0016 -0.0893)
OKLCHoklch(21.6% 0.089 269)
XYZxyz(1.3411, 0.9235, 5.2608)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1342 #42390A
analogous
#0A2F42 #0A1342 #1D0A42
triadic
#0A1342 #420A13 #13420A
tetradic
#0A1342 #420A2F #42390A #0A421D
square
#0A1342 #420A2F #42390A #0A421D
split-complementary
#0A1342 #421D0A #2F420A
monochromatic
#04081B #04081B #0A1342 #122277 #1A32AC

Accessibility & contrast

On white

17.72
#0A1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0A1342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1342
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1342#FFFFFF#000000##FFFFFF
##0A13421.0017.721.1817.72
#FFFFFF17.721.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#001F28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a1342;
/* rgb */ color: rgb(10, 19, 66);
/* oklch */ color: oklch(21.6% 0.089 269.0);
Tailwind
colors: {
  custom: {
    50: '#545077',
    500: '#0a1342',
    950: '#000000',
  },
}
SCSS
$custom: #0a1342;
$custom-light: #545077;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1342",
  "rgb": {
    "r": 10,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 230.357,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21604,
    "c": 0.08929,
    "h": 269
  },
  "luminance": 0.00924
}

Semantic roles & 50–950 ramp

primary
#0A1342
secondary
#7F7129
accent
#D337F0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1342

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

Preview Lab → · Contrast checker → · Palette generator →

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