#0A023A#0A023A

#0A023A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.2% C 0.101 H 276.5°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#0A023A
RGBrgb(10, 2, 58)
HSLhsl(249, 93%, 12%)
HSVhsv(249, 97%, 23%)
CMYKcmyk(82.8%, 96.6%, 0%, 77.3%)
CIE-LABlab(3.73, 21.13, -32.65)
CIE-LCHlch(3.73, 38.89, 302.91°)
OKLaboklab(17.24% 0.0115 -0.0998)
OKLCHoklch(17.24% 0.101 276.5)
XYZxyz(0.9104, 0.4133, 4.0340)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A023A #323A02
analogous
#02163A #0A023A #26023A
triadic
#0A023A #3A0A02 #023A0A
tetradic
#0A023A #3A0216 #323A02 #023A26
square
#0A023A #3A0216 #323A02 #023A26
split-complementary
#0A023A #3A2602 #163A02
monochromatic
#05011E #05011E #0A023A #140475 #1E06B0

Accessibility & contrast

On white

19.40
#0A023A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A023A
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A023A#FFFFFF#000000##FFFFFF
##0A023A1.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00103C
Deuteranopia (green-blind)
#000B39
Tritanopia (blue-blind)
#00131E
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0a023a;
/* rgb */ color: rgb(10, 2, 58);
/* oklch */ color: oklch(17.2% 0.101 276.5);
Tailwind
colors: {
  custom: {
    50: '#514671',
    500: '#0a023a',
    950: '#000000',
  },
}
SCSS
$custom: #0a023a;
$custom-light: #514671;
$custom-dark: #000000;
JSON
{
  "hex": "#0a023a",
  "rgb": {
    "r": 10,
    "g": 2,
    "b": 58
  },
  "hsl": {
    "h": 248.571,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.17242,
    "c": 0.1005,
    "h": 276.5
  },
  "luminance": 0.00413
}

Semantic roles & 50–950 ramp

primary
#0A023A
secondary
#6F7D1A
accent
#FF29E0
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020008
muted
#78777B

Preview Lab

Preview with #0A023A

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

Preview Lab → · Contrast checker → · Palette generator →

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