#0A0F3D#0A0F3D

#0A0F3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.087 H 271.2°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#0A0F3D
RGBrgb(10, 15, 61)
HSLhsl(234, 72%, 14%)
HSVhsv(234, 84%, 24%)
CMYKcmyk(83.6%, 75.4%, 0%, 76.1%)
CIE-LABlab(6.71, 16.49, -29.98)
CIE-LCHlch(6.71, 34.21, 298.82°)
OKLaboklab(20.19% 0.0018 -0.087)
OKLCHoklch(20.19% 0.087 271.2)
XYZxyz(1.1380, 0.7430, 4.4974)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A0F3D #3D380A
analogous
#0A293D #0A0F3D #1F0A3D
triadic
#0A0F3D #3D0A0F #0F3D0A
tetradic
#0A0F3D #3D0A29 #3D380A #0A3D1F
square
#0A0F3D #3D0A29 #3D380A #0A3D1F
split-complementary
#0A0F3D #3D1F0A #293D0A
monochromatic
#04061A #04061A #0A0F3D #131C72 #1B29A6

Accessibility & contrast

On white

18.28
#0A0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0A0F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A0F3D
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A0F3D#FFFFFF#000000##FFFFFF
##0A0F3D1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00123C
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0a0f3d;
/* rgb */ color: rgb(10, 15, 61);
/* oklch */ color: oklch(20.2% 0.087 271.2);
Tailwind
colors: {
  custom: {
    50: '#524d73',
    500: '#0a0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #0a0f3d;
$custom-light: #524d73;
$custom-dark: #000000;
JSON
{
  "hex": "#0a0f3d",
  "rgb": {
    "r": 10,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 234.118,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20192,
    "c": 0.08707,
    "h": 271.2
  },
  "luminance": 0.00743
}

Semantic roles & 50–950 ramp

primary
#0A0F3D
secondary
#7A7228
accent
#DD39EF
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0A0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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