#0A0D3C#0A0D3C

#0A0D3C is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.088 H 272.2°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#0A0D3C
RGBrgb(10, 13, 60)
HSLhsl(236, 71%, 14%)
HSVhsv(236, 83%, 24%)
CMYKcmyk(83.3%, 78.3%, 0%, 76.5%)
CIE-LABlab(6.13, 17.18, -30.21)
CIE-LCHlch(6.13, 34.75, 299.63°)
OKLaboklab(19.67% 0.0034 -0.0882)
OKLCHoklch(19.67% 0.088 272.2)
XYZxyz(1.0844, 0.6785, 4.3479)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0D3C #3C390A
analogous
#0A263C #0A0D3C #200A3C
triadic
#0A0D3C #3C0A0D #0D3C0A
tetradic
#0A0D3C #3C0A26 #3C390A #0A3C20
square
#0A0D3C #3C0A26 #3C390A #0A3C20
split-complementary
#0A0D3C #3C200A #263C0A
monochromatic
#04061A #04061A #0A0D3C #131870 #1B24A5

Accessibility & contrast

On white

18.49
#0A0D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0A0D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0D3C
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0D3C#FFFFFF#000000##FFFFFF
##0A0D3C1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00113B
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0a0d3c;
/* rgb */ color: rgb(10, 13, 60);
/* oklch */ color: oklch(19.7% 0.088 272.2);
Tailwind
colors: {
  custom: {
    50: '#524c72',
    500: '#0a0d3c',
    950: '#000000',
  },
}
SCSS
$custom: #0a0d3c;
$custom-light: #524c72;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0d3c",
  "rgb": {
    "r": 10,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 236.4,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.19667,
    "c": 0.08826,
    "h": 272.2
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#0A0D3C
secondary
#797428
accent
#E33AEE
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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