#0A2147#0A2147

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

Color values

HEX#0A2147
RGBrgb(10, 33, 71)
HSLhsl(217, 75%, 16%)
HSVhsv(217, 86%, 28%)
CMYKcmyk(85.9%, 53.5%, 0%, 72.2%)
CIE-LABlab(13.27, 7.24, -26.37)
CIE-LCHlch(13.27, 27.35, 285.36°)
OKLaboklab(25.47% -0.0134 -0.0757)
OKLCHoklch(25.47% 0.077 260)
XYZxyz(1.8059, 1.6070, 6.1750)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2147 #47300A
analogous
#0A3F47 #0A2147 #110A47
triadic
#0A2147 #470A21 #21470A
tetradic
#0A2147 #470A3F #47300A #0A4711
square
#0A2147 #470A3F #47300A #0A4711
split-complementary
#0A2147 #47110A #3F470A
monochromatic
#040C1B #040C1B #0A2147 #123A7D #1953B2

Accessibility & contrast

On white

15.89
#0A2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A2147
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2147#FFFFFF#000000##FFFFFF
##0A21471.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2548
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0a2147;
/* rgb */ color: rgb(10, 33, 71);
/* oklch */ color: oklch(25.5% 0.077 260.0);
Tailwind
colors: {
  custom: {
    50: '#545b7a',
    500: '#0a2147',
    950: '#000000',
  },
}
SCSS
$custom: #0a2147;
$custom-light: #545b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2147",
  "rgb": {
    "r": 10,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 217.377,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25466,
    "c": 0.07693,
    "h": 260
  },
  "luminance": 0.01607
}

Semantic roles & 50–950 ramp

primary
#0A2147
secondary
#846229
accent
#AB36F2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0A2147

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

Preview Lab → · Contrast checker → · Palette generator →

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