#2A359A#2A359A

#2A359A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.163 H 271.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2A359A
RGBrgb(42, 53, 154)
HSLhsl(234, 57%, 38%)
HSVhsv(234, 73%, 60%)
CMYKcmyk(72.7%, 65.6%, 0%, 39.6%)
CIE-LABlab(27.77, 31.01, -56.36)
CIE-LCHlch(27.77, 64.33, 298.82°)
OKLaboklab(38.98% 0.0045 -0.1628)
OKLCHoklch(38.98% 0.163 271.6)
XYZxyz(8.0587, 5.3707, 31.1775)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A359A #9A8F2A
analogous
#2A6D9A #2A359A #572A9A
triadic
#2A359A #9A2A35 #359A2A
tetradic
#2A359A #9A2A6D #9A8F2A #2A9A57
square
#2A359A #9A2A6D #9A8F2A #2A9A57
split-complementary
#2A359A #9A572A #6D9A2A
monochromatic
#10143A #1D246A #2A359A #3847C9 #6873D6

Accessibility & contrast

On white

10.12
#2A359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2A359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A359A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A359A#FFFFFF#000000##FFFFFF
##2A359A1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a359a;
/* rgb */ color: rgb(42, 53, 154);
/* oklch */ color: oklch(39.0% 0.163 271.6);
Tailwind
colors: {
  custom: {
    50: '#746cb9',
    500: '#2a359a',
    950: '#000000',
  },
}
SCSS
$custom: #2a359a;
$custom-light: #746cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a359a",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 234.107,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38975,
    "c": 0.16291,
    "h": 271.6
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#2A359A
secondary
#BCB463
accent
#D147E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2A359A

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

Preview Lab → · Contrast checker → · Palette generator →

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