#2A2573#2A2573

#2A2573 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.129 H 279.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#2A2573
RGBrgb(42, 37, 115)
HSLhsl(244, 51%, 30%)
HSVhsv(244, 68%, 45%)
CMYKcmyk(63.5%, 67.8%, 0%, 54.9%)
CIE-LABlab(20.25, 27.38, -44.24)
CIE-LCHlch(20.25, 52.03, 301.75°)
OKLaboklab(32.4% 0.0207 -0.1274)
OKLCHoklch(32.4% 0.129 279.2)
XYZxyz(4.7099, 3.0528, 16.5574)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2573 #6E7325
analogous
#254773 #2A2573 #512573
triadic
#2A2573 #732A25 #25732A
tetradic
#2A2573 #732547 #6E7325 #257351
square
#2A2573 #732547 #6E7325 #257351
split-complementary
#2A2573 #735125 #477325
monochromatic
#080717 #191645 #2A2573 #3B34A1 #544DC6

Accessibility & contrast

On white

13.04
#2A2573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A2573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2573
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2573#FFFFFF#000000##FFFFFF
##2A25731.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a2573;
/* rgb */ color: rgb(42, 37, 115);
/* oklch */ color: oklch(32.4% 0.129 279.2);
Tailwind
colors: {
  custom: {
    50: '#6d609c',
    500: '#2a2573',
    950: '#000000',
  },
}
SCSS
$custom: #2a2573;
$custom-light: #6d609c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2573",
  "rgb": {
    "r": 42,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 243.846,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32397,
    "c": 0.12907,
    "h": 279.2
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#2A2573
secondary
#A0A64E
accent
#DB4DD2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2A2573

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

Preview Lab → · Contrast checker → · Palette generator →

#2A2573 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva