#0A2247#0A2247

#0A2247 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.7% C 0.076 H 259.0°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#0A2247
RGBrgb(10, 34, 71)
HSLhsl(216, 75%, 16%)
HSVhsv(216, 86%, 28%)
CMYKcmyk(85.9%, 52.1%, 0%, 72.2%)
CIE-LABlab(13.61, 6.48, -25.83)
CIE-LCHlch(13.61, 26.63, 284.08°)
OKLaboklab(25.73% -0.0144 -0.0741)
OKLCHoklch(25.73% 0.076 259)
XYZxyz(1.8341, 1.6633, 6.1844)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2247 #472F0A
analogous
#0A4047 #0A2247 #100A47
triadic
#0A2247 #470A22 #22470A
tetradic
#0A2247 #470A40 #472F0A #0A4710
square
#0A2247 #470A40 #472F0A #0A4710
split-complementary
#0A2247 #47100A #40470A
monochromatic
#040D1B #040D1B #0A2247 #123C7D #1955B2

Accessibility & contrast

On white

15.76
#0A2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A2247
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2247#FFFFFF#000000##FFFFFF
##0A22471.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2648
Deuteranopia (green-blind)
#022046
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0a2247;
/* rgb */ color: rgb(10, 34, 71);
/* oklch */ color: oklch(25.7% 0.076 259.0);
Tailwind
colors: {
  custom: {
    50: '#545c7a',
    500: '#0a2247',
    950: '#000000',
  },
}
SCSS
$custom: #0a2247;
$custom-light: #545c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2247",
  "rgb": {
    "r": 10,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 216.393,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25727,
    "c": 0.07551,
    "h": 259
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#0A2247
secondary
#846029
accent
#A836F2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0A2247

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

Preview Lab → · Contrast checker → · Palette generator →

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