#2A3597#2A3597

#2A3597 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.159 H 271.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2A3597
RGBrgb(42, 53, 151)
HSLhsl(234, 56%, 38%)
HSVhsv(234, 72%, 59%)
CMYKcmyk(72.2%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.50, 29.91, -54.97)
CIE-LCHlch(27.50, 62.58, 298.55°)
OKLaboklab(38.69% 0.0047 -0.1588)
OKLCHoklch(38.69% 0.159 271.7)
XYZxyz(7.8120, 5.2720, 29.8781)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3597 #978C2A
analogous
#2A6B97 #2A3597 #552A97
triadic
#2A3597 #972A35 #35972A
tetradic
#2A3597 #972A6B #978C2A #2A9755
square
#2A3597 #972A6B #978C2A #2A9755
split-complementary
#2A3597 #97552A #6B972A
monochromatic
#0F1337 #1D2467 #2A3597 #3746C7 #6772D5

Accessibility & contrast

On white

10.22
#2A3597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A3597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3597
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3597#FFFFFF#000000##FFFFFF
##2A35971.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a3597;
/* rgb */ color: rgb(42, 53, 151);
/* oklch */ color: oklch(38.7% 0.159 271.7);
Tailwind
colors: {
  custom: {
    50: '#736cb6',
    500: '#2a3597',
    950: '#000000',
  },
}
SCSS
$custom: #2a3597;
$custom-light: #736cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3597",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 233.945,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38694,
    "c": 0.15884,
    "h": 271.7
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#2A3597
secondary
#BBB262
accent
#D048E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3597

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

Preview Lab → · Contrast checker → · Palette generator →

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