#0A0C3E#0A0C3E

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

Color values

HEX#0A0C3E
RGBrgb(10, 12, 62)
HSLhsl(238, 72%, 14%)
HSVhsv(238, 84%, 24%)
CMYKcmyk(83.9%, 80.6%, 0%, 75.7%)
CIE-LABlab(6.10, 18.72, -31.69)
CIE-LCHlch(6.10, 36.81, 300.57°)
OKLaboklab(19.71% 0.0038 -0.0926)
OKLCHoklch(19.71% 0.093 272.4)
XYZxyz(1.1259, 0.6752, 4.6275)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0C3E #3E3C0A
analogous
#0A263E #0A0C3E #220A3E
triadic
#0A0C3E #3E0A0C #0C3E0A
tetradic
#0A0C3E #3E0A26 #3E3C0A #0A3E22
square
#0A0C3E #3E0A26 #3E3C0A #0A3E22
split-complementary
#0A0C3E #3E220A #263E0A
monochromatic
#04051A #04051A #0A0C3E #131673 #1B20A7

Accessibility & contrast

On white

18.50
#0A0C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A0C3E
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0C3E#FFFFFF#000000##FFFFFF
##0A0C3E1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a0c3e;
/* rgb */ color: rgb(10, 12, 62);
/* oklch */ color: oklch(19.7% 0.093 272.4);
Tailwind
colors: {
  custom: {
    50: '#534b74',
    500: '#0a0c3e',
    950: '#000000',
  },
}
SCSS
$custom: #0a0c3e;
$custom-light: #534b74;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0c3e",
  "rgb": {
    "r": 10,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 237.692,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.19712,
    "c": 0.09264,
    "h": 272.4
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#0A0C3E
secondary
#7B7828
accent
#E839EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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