#2A3573#2A3573

#2A3573 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.107 H 272.3°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2A3573
RGBrgb(42, 53, 115)
HSLhsl(231, 46%, 31%)
HSVhsv(231, 63%, 45%)
CMYKcmyk(63.5%, 53.9%, 0%, 54.9%)
CIE-LABlab(24.56, 16.44, -37.25)
CIE-LCHlch(24.56, 40.72, 293.81°)
OKLaboklab(35.59% 0.0043 -0.1067)
OKLCHoklch(35.59% 0.107 272.3)
XYZxyz(5.3214, 4.2758, 16.7612)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3573 #73682A
analogous
#2A5973 #2A3573 #432A73
triadic
#2A3573 #732A35 #35732A
tetradic
#2A3573 #732A59 #73682A #2A7343
square
#2A3573 #732A59 #73682A #2A7343
split-complementary
#2A3573 #73432A #59732A
monochromatic
#090C19 #1A2046 #2A3573 #3A4AA0 #5666C1

Accessibility & contrast

On white

11.32
#2A3573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A3573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3573
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3573#FFFFFF#000000##FFFFFF
##2A35731.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a3573;
/* rgb */ color: rgb(42, 53, 115);
/* oklch */ color: oklch(35.6% 0.107 272.3);
Tailwind
colors: {
  custom: {
    50: '#6b6c9c',
    500: '#2a3573',
    950: '#000000',
  },
}
SCSS
$custom: #2a3573;
$custom-light: #6b6c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3573",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 115
  },
  "hsl": {
    "h": 230.959,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35593,
    "c": 0.10679,
    "h": 272.3
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#2A3573
secondary
#A59954
accent
#C252D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A3573

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

Preview Lab → · Contrast checker → · Palette generator →

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