#0A204D#0A204D

#0A204D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.088 H 262.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#0A204D
RGBrgb(10, 32, 77)
HSLhsl(220, 77%, 17%)
HSVhsv(220, 87%, 30%)
CMYKcmyk(87%, 58.4%, 0%, 69.8%)
CIE-LABlab(13.43, 10.74, -30.25)
CIE-LCHlch(13.43, 32.10, 289.55°)
OKLaboklab(25.74% -0.0116 -0.0872)
OKLCHoklch(25.74% 0.088 262.4)
XYZxyz(1.9808, 1.6331, 7.2306)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A204D #4D370A
analogous
#0A414D #0A204D #160A4D
triadic
#0A204D #4D0A20 #204D0A
tetradic
#0A204D #4D0A41 #4D370A #0A4D16
square
#0A204D #4D0A41 #4D370A #0A4D16
split-complementary
#0A204D #4D160A #414D0A
monochromatic
#040B1B #040B1B #0A204D #113783 #184DB9

Accessibility & contrast

On white

15.83
#0A204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0A204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A204D
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A204D#FFFFFF#000000##FFFFFF
##0A204D1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02264F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0a204d;
/* rgb */ color: rgb(10, 32, 77);
/* oklch */ color: oklch(25.7% 0.088 262.4);
Tailwind
colors: {
  custom: {
    50: '#565a7f',
    500: '#0a204d',
    950: '#000000',
  },
}
SCSS
$custom: #0a204d;
$custom-light: #565a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a204d",
  "rgb": {
    "r": 10,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 220.299,
    "s": 77.011,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25743,
    "c": 0.08795,
    "h": 262.4
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#0A204D
secondary
#8A6A29
accent
#B534F4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0A204D

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

Preview Lab → · Contrast checker → · Palette generator →

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