#2A349C#2A349C

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

Color values

HEX#2A349C
RGBrgb(42, 52, 156)
HSLhsl(235, 58%, 39%)
HSVhsv(235, 73%, 61%)
CMYKcmyk(73.1%, 66.7%, 0%, 38.8%)
CIE-LABlab(27.70, 32.39, -57.69)
CIE-LCHlch(27.70, 66.16, 299.32°)
OKLaboklab(38.99% 0.005 -0.1667)
OKLCHoklch(38.99% 0.167 271.7)
XYZxyz(8.1816, 5.3477, 32.0471)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A349C #9C922A
analogous
#2A6D9C #2A349C #592A9C
triadic
#2A349C #9C2A34 #349C2A
tetradic
#2A349C #9C2A6D #9C922A #2A9C59
square
#2A349C #9C2A6D #9C922A #2A9C59
split-complementary
#2A349C #9C592A #6D9C2A
monochromatic
#10143C #1D246C #2A349C #3946CA #6A73D7

Accessibility & contrast

On white

10.15
#2A349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A349C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A349C#FFFFFF#000000##FFFFFF
##2A349C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a349c;
/* rgb */ color: rgb(42, 52, 156);
/* oklch */ color: oklch(39.0% 0.167 271.7);
Tailwind
colors: {
  custom: {
    50: '#756bba',
    500: '#2a349c',
    950: '#000000',
  },
}
SCSS
$custom: #2a349c;
$custom-light: #756bba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a349c",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 234.737,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38985,
    "c": 0.16681,
    "h": 271.7
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#2A349C
secondary
#BDB565
accent
#D347E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A349C

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

Preview Lab → · Contrast checker → · Palette generator →

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