#0A0938#0A0938

#0A0938 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.087 H 274.6°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#0A0938
RGBrgb(10, 9, 56)
HSLhsl(241, 72%, 13%)
HSVhsv(241, 84%, 22%)
CMYKcmyk(82.1%, 83.9%, 0%, 78%)
CIE-LABlab(4.93, 16.99, -29.26)
CIE-LCHlch(4.93, 33.84, 300.14°)
OKLaboklab(18.42% 0.007 -0.0871)
OKLCHoklch(18.42% 0.087 274.6)
XYZxyz(0.9364, 0.5453, 3.7965)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0938 #373809
analogous
#091F38 #0A0938 #220938
triadic
#0A0938 #380A09 #09380A
tetradic
#0A0938 #38091F #373809 #093822
square
#0A0938 #38091F #373809 #093822
split-complementary
#0A0938 #382209 #1F3809
monochromatic
#05041A #05041A #0A0938 #13116D #1D1AA1

Accessibility & contrast

On white

18.94
#0A0938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0938
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0938#FFFFFF#000000##FFFFFF
##0A09381.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#000E37
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0a0938;
/* rgb */ color: rgb(10, 9, 56);
/* oklch */ color: oklch(18.4% 0.087 274.6);
Tailwind
colors: {
  custom: {
    50: '#514a6f',
    500: '#0a0938',
    950: '#000000',
  },
}
SCSS
$custom: #0a0938;
$custom-light: #514a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0938",
  "rgb": {
    "r": 10,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 241.277,
    "s": 72.308,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18416,
    "c": 0.08741,
    "h": 274.6
  },
  "luminance": 0.00545
}

Semantic roles & 50–950 ramp

primary
#0A0938
secondary
#747627
accent
#EF39EB
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #0A0938

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

Preview Lab → · Contrast checker → · Palette generator →

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