#0A2146#0A2146

#0A2146 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.075 H 259.6°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#0A2146
RGBrgb(10, 33, 70)
HSLhsl(217, 75%, 16%)
HSVhsv(217, 86%, 27%)
CMYKcmyk(85.7%, 52.9%, 0%, 72.5%)
CIE-LABlab(13.19, 6.79, -25.80)
CIE-LCHlch(13.19, 26.68, 284.75°)
OKLaboklab(25.38% -0.0136 -0.0741)
OKLCHoklch(25.38% 0.075 259.6)
XYZxyz(1.7741, 1.5942, 6.0074)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2146 #462F0A
analogous
#0A3F46 #0A2146 #110A46
triadic
#0A2146 #460A21 #21460A
tetradic
#0A2146 #460A3F #462F0A #0A4611
square
#0A2146 #460A3F #462F0A #0A4611
split-complementary
#0A2146 #46110A #3F460A
monochromatic
#040D1B #040D1B #0A2146 #123A7C #1953B1

Accessibility & contrast

On white

15.92
#0A2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A2146
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2146#FFFFFF#000000##FFFFFF
##0A21461.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2547
Deuteranopia (green-blind)
#011F45
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0a2146;
/* rgb */ color: rgb(10, 33, 70);
/* oklch */ color: oklch(25.4% 0.075 259.6);
Tailwind
colors: {
  custom: {
    50: '#545b7a',
    500: '#0a2146',
    950: '#000000',
  },
}
SCSS
$custom: #0a2146;
$custom-light: #545b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2146",
  "rgb": {
    "r": 10,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 217,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25382,
    "c": 0.07532,
    "h": 259.6
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#0A2146
secondary
#836029
accent
#AA36F2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0A2146

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

Preview Lab → · Contrast checker → · Palette generator →

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