#0A062E#0A062E

#0A062E is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.077 H 279.0°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#0A062E
RGBrgb(10, 6, 46)
HSLhsl(246, 77%, 10%)
HSVhsv(246, 87%, 18%)
CMYKcmyk(78.3%, 87%, 0%, 82%)
CIE-LABlab(3.54, 12.73, -24.08)
CIE-LCHlch(3.54, 27.23, 297.86°)
OKLaboklab(16.53% 0.012 -0.0757)
OKLCHoklch(16.53% 0.077 279)
XYZxyz(0.6833, 0.3920, 2.6239)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A062E #2A2E06
analogous
#06162E #0A062E #1E062E
triadic
#0A062E #2E0A06 #062E0A
tetradic
#0A062E #2E0616 #2A2E06 #062E1E
square
#0A062E #2E0616 #2A2E06 #062E1E
split-complementary
#0A062E #2E1E06 #162E06
monochromatic
#06041B #06041B #0A062E #160D64 #22149A

Accessibility & contrast

On white

19.47
#0A062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A062E
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A062E#FFFFFF#000000##FFFFFF
##0A062E1.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2F
Deuteranopia (green-blind)
#000B2D
Tritanopia (blue-blind)
#001119
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0a062e;
/* rgb */ color: rgb(10, 6, 46);
/* oklch */ color: oklch(16.5% 0.077 279.0);
Tailwind
colors: {
  custom: {
    50: '#4d4967',
    500: '#0a062e',
    950: '#000000',
  },
}
SCSS
$custom: #0a062e;
$custom-light: #4d4967;
$custom-dark: #000000;
JSON
{
  "hex": "#0a062e",
  "rgb": {
    "r": 10,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 246,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16532,
    "c": 0.07667,
    "h": 279
  },
  "luminance": 0.00392
}

Semantic roles & 50–950 ramp

primary
#0A062E
secondary
#676F21
accent
#F334E0
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #0A062E

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

Preview Lab → · Contrast checker → · Palette generator →

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