#0A0C3D#0A0C3D

#0A0C3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.091 H 272.5°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#0A0C3D
RGBrgb(10, 12, 61)
HSLhsl(238, 72%, 14%)
HSVhsv(238, 84%, 24%)
CMYKcmyk(83.6%, 80.3%, 0%, 76.1%)
CIE-LABlab(6.00, 18.22, -31.14)
CIE-LCHlch(6.00, 36.08, 300.34°)
OKLaboklab(19.59% 0.004 -0.091)
OKLCHoklch(19.59% 0.091 272.5)
XYZxyz(1.0987, 0.6643, 4.4843)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0C3D #3D3B0A
analogous
#0A263D #0A0C3D #220A3D
triadic
#0A0C3D #3D0A0C #0C3D0A
tetradic
#0A0C3D #3D0A26 #3D3B0A #0A3D22
square
#0A0C3D #3D0A26 #3D3B0A #0A3D22
split-complementary
#0A0C3D #3D220A #263D0A
monochromatic
#04051A #04051A #0A0C3D #131672 #1B21A6

Accessibility & contrast

On white

18.54
#0A0C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0A0C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0C3D
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0C3D#FFFFFF#000000##FFFFFF
##0A0C3D1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00113C
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0a0c3d;
/* rgb */ color: rgb(10, 12, 61);
/* oklch */ color: oklch(19.6% 0.091 272.5);
Tailwind
colors: {
  custom: {
    50: '#534b73',
    500: '#0a0c3d',
    950: '#000000',
  },
}
SCSS
$custom: #0a0c3d;
$custom-light: #534b73;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0c3d",
  "rgb": {
    "r": 10,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 237.647,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19591,
    "c": 0.09113,
    "h": 272.5
  },
  "luminance": 0.00664
}

Semantic roles & 50–950 ramp

primary
#0A0C3D
secondary
#7A7728
accent
#E739EF
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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