#0A204A#0A204A

#0A204A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.083 H 261.7°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#0A204A
RGBrgb(10, 32, 74)
HSLhsl(219, 76%, 16%)
HSVhsv(219, 86%, 29%)
CMYKcmyk(86.5%, 56.8%, 0%, 71%)
CIE-LABlab(13.18, 9.38, -28.59)
CIE-LCHlch(13.18, 30.09, 288.17°)
OKLaboklab(25.47% -0.012 -0.0823)
OKLCHoklch(25.47% 0.083 261.7)
XYZxyz(1.8773, 1.5917, 6.6855)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A204A #4A340A
analogous
#0A404A #0A204A #140A4A
triadic
#0A204A #4A0A20 #204A0A
tetradic
#0A204A #4A0A40 #4A340A #0A4A14
square
#0A204A #4A0A40 #4A340A #0A4A14
split-complementary
#0A204A #4A140A #404A0A
monochromatic
#040C1B #040C1B #0A204A #113780 #194FB6

Accessibility & contrast

On white

15.93
#0A204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0A204A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A204A
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A204A#FFFFFF#000000##FFFFFF
##0A204A1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254C
Deuteranopia (green-blind)
#001F49
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0a204a;
/* rgb */ color: rgb(10, 32, 74);
/* oklch */ color: oklch(25.5% 0.083 261.7);
Tailwind
colors: {
  custom: {
    50: '#555a7d',
    500: '#0a204a',
    950: '#000000',
  },
}
SCSS
$custom: #0a204a;
$custom-light: #555a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0a204a",
  "rgb": {
    "r": 10,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 219.375,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25472,
    "c": 0.08318,
    "h": 261.7
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#0A204A
secondary
#876729
accent
#B235F3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0A204A

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

Preview Lab → · Contrast checker → · Palette generator →

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