#0A062D#0A062D

#0A062D is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.075 H 279.4°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#0A062D
RGBrgb(10, 6, 45)
HSLhsl(246, 76%, 10%)
HSVhsv(246, 87%, 18%)
CMYKcmyk(77.8%, 86.7%, 0%, 82.4%)
CIE-LABlab(3.47, 12.23, -23.44)
CIE-LCHlch(3.47, 26.44, 297.56°)
OKLaboklab(16.41% 0.0123 -0.0741)
OKLCHoklch(16.41% 0.075 279.4)
XYZxyz(0.6638, 0.3842, 2.5213)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A062D #292D06
analogous
#06152D #0A062D #1E062D
triadic
#0A062D #2D0A06 #062D0A
tetradic
#0A062D #2D0615 #292D06 #062D1E
square
#0A062D #2D0615 #292D06 #062D1E
split-complementary
#0A062D #2D1E06 #152D06
monochromatic
#06041B #06041B #0A062D #160D63 #221499

Accessibility & contrast

On white

19.50
#0A062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0A062D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A062D
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A062D#FFFFFF#000000##FFFFFF
##0A062D1.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2E
Deuteranopia (green-blind)
#000B2C
Tritanopia (blue-blind)
#001018
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0a062d;
/* rgb */ color: rgb(10, 6, 45);
/* oklch */ color: oklch(16.4% 0.075 279.4);
Tailwind
colors: {
  custom: {
    50: '#4d4966',
    500: '#0a062d',
    950: '#000000',
  },
}
SCSS
$custom: #0a062d;
$custom-light: #4d4966;
$custom-dark: #000000;
JSON
{
  "hex": "#0a062d",
  "rgb": {
    "r": 10,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 246.154,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.16408,
    "c": 0.07512,
    "h": 279.4
  },
  "luminance": 0.00384
}

Semantic roles & 50–950 ramp

primary
#0A062D
secondary
#666E21
accent
#F335E0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #0A062D

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

Preview Lab → · Contrast checker → · Palette generator →

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