#0A2041#0A2041

#0A2041 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.7% C 0.069 H 258.5°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#0A2041
RGBrgb(10, 32, 65)
HSLhsl(216, 73%, 15%)
HSVhsv(216, 85%, 25%)
CMYKcmyk(84.6%, 50.8%, 0%, 74.5%)
CIE-LABlab(12.47, 5.29, -23.48)
CIE-LCHlch(12.47, 24.06, 282.70°)
OKLaboklab(24.71% -0.0136 -0.0673)
OKLCHoklch(24.71% 0.069 258.5)
XYZxyz(1.5955, 1.4790, 5.2014)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2041 #412B0A
analogous
#0A3C41 #0A2041 #100A41
triadic
#0A2041 #410A20 #20410A
tetradic
#0A2041 #410A3C #412B0A #0A4110
square
#0A2041 #410A3C #412B0A #0A4110
split-complementary
#0A2041 #41100A #3C410A
monochromatic
#040D1B #040D1B #0A2041 #123A76 #1A54AB

Accessibility & contrast

On white

16.21
#0A2041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0A2041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2041
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2041#FFFFFF#000000##FFFFFF
##0A20411.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2342
Deuteranopia (green-blind)
#051E40
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0a2041;
/* rgb */ color: rgb(10, 32, 65);
/* oklch */ color: oklch(24.7% 0.069 258.5);
Tailwind
colors: {
  custom: {
    50: '#525a76',
    500: '#0a2041',
    950: '#000000',
  },
}
SCSS
$custom: #0a2041;
$custom-light: #525a76;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2041",
  "rgb": {
    "r": 10,
    "g": 32,
    "b": 65
  },
  "hsl": {
    "h": 216,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24705,
    "c": 0.06863,
    "h": 258.5
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#0A2041
secondary
#7E5C29
accent
#A638F0
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0A2041

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

Preview Lab → · Contrast checker → · Palette generator →

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