#0A204E#0A204E

#0A204E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.090 H 262.6°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#0A204E
RGBrgb(10, 32, 78)
HSLhsl(221, 77%, 17%)
HSVhsv(221, 87%, 31%)
CMYKcmyk(87.2%, 59%, 0%, 69.4%)
CIE-LABlab(13.52, 11.19, -30.79)
CIE-LCHlch(13.52, 32.76, 289.97°)
OKLaboklab(25.83% -0.0115 -0.0888)
OKLCHoklch(25.83% 0.09 262.6)
XYZxyz(2.0163, 1.6474, 7.4180)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A204E #4E380A
analogous
#0A424E #0A204E #160A4E
triadic
#0A204E #4E0A20 #204E0A
tetradic
#0A204E #4E0A42 #4E380A #0A4E16
square
#0A204E #4E0A42 #4E380A #0A4E16
split-complementary
#0A204E #4E160A #424E0A
monochromatic
#030B1B #030B1B #0A204E #113684 #184DBA

Accessibility & contrast

On white

15.79
#0A204E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A204E
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A204E#FFFFFF#000000##FFFFFF
##0A204E1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0a204e;
/* rgb */ color: rgb(10, 32, 78);
/* oklch */ color: oklch(25.8% 0.090 262.6);
Tailwind
colors: {
  custom: {
    50: '#565a80',
    500: '#0a204e',
    950: '#000000',
  },
}
SCSS
$custom: #0a204e;
$custom-light: #565a80;
$custom-dark: #000000;
JSON
{
  "hex": "#0a204e",
  "rgb": {
    "r": 10,
    "g": 32,
    "b": 78
  },
  "hsl": {
    "h": 220.588,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25834,
    "c": 0.08953,
    "h": 262.6
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#0A204E
secondary
#8B6B29
accent
#B634F4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0A204E

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

Preview Lab → · Contrast checker → · Palette generator →

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