#2A349A#2A349A

#2A349A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.164 H 271.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2A349A
RGBrgb(42, 52, 154)
HSLhsl(235, 57%, 38%)
HSVhsv(235, 73%, 60%)
CMYKcmyk(72.7%, 66.2%, 0%, 39.6%)
CIE-LABlab(27.52, 31.66, -56.77)
CIE-LCHlch(27.52, 65.00, 299.15°)
OKLaboklab(38.8% 0.0052 -0.164)
OKLCHoklch(38.8% 0.164 271.8)
XYZxyz(8.0136, 5.2805, 31.1625)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A349A #9A902A
analogous
#2A6C9A #2A349A #582A9A
triadic
#2A349A #9A2A34 #349A2A
tetradic
#2A349A #9A2A6C #9A902A #2A9A58
square
#2A349A #9A2A6C #9A902A #2A9A58
split-complementary
#2A349A #9A582A #6C9A2A
monochromatic
#10143A #1D246A #2A349A #3845C9 #6872D6

Accessibility & contrast

On white

10.21
#2A349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A349A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A349A#FFFFFF#000000##FFFFFF
##2A349A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a349a;
/* rgb */ color: rgb(42, 52, 154);
/* oklch */ color: oklch(38.8% 0.164 271.8);
Tailwind
colors: {
  custom: {
    50: '#746bb9',
    500: '#2a349a',
    950: '#000000',
  },
}
SCSS
$custom: #2a349a;
$custom-light: #746bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a349a",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 234.643,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38795,
    "c": 0.16412,
    "h": 271.8
  },
  "luminance": 0.05281
}

Semantic roles & 50–950 ramp

primary
#2A349A
secondary
#BCB463
accent
#D347E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #2A349A

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

Preview Lab → · Contrast checker → · Palette generator →

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