#2A349E#2A349E

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

Color values

HEX#2A349E
RGBrgb(42, 52, 158)
HSLhsl(235, 58%, 39%)
HSVhsv(235, 73%, 62%)
CMYKcmyk(73.4%, 67.1%, 0%, 38%)
CIE-LABlab(27.89, 33.12, -58.60)
CIE-LCHlch(27.89, 67.31, 299.47°)
OKLaboklab(39.18% 0.0049 -0.1694)
OKLCHoklch(39.18% 0.169 271.6)
XYZxyz(8.3523, 5.4160, 32.9463)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A349E #9E942A
analogous
#2A6E9E #2A349E #5A2A9E
triadic
#2A349E #9E2A34 #349E2A
tetradic
#2A349E #9E2A6E #9E942A #2A9E5A
square
#2A349E #9E2A6E #9E942A #2A9E5A
split-complementary
#2A349E #9E5A2A #6E9E2A
monochromatic
#10143D #1D246E #2A349E #3A47CB #6B74D8

Accessibility & contrast

On white

10.08
#2A349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A349E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A349E#FFFFFF#000000##FFFFFF
##2A349E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a349e;
/* rgb */ color: rgb(42, 52, 158);
/* oklch */ color: oklch(39.2% 0.169 271.6);
Tailwind
colors: {
  custom: {
    50: '#756bbc',
    500: '#2a349e',
    950: '#000000',
  },
}
SCSS
$custom: #2a349e;
$custom-light: #756bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a349e",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 234.828,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39177,
    "c": 0.16948,
    "h": 271.6
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#2A349E
secondary
#BEB766
accent
#D447E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A349E

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

Preview Lab → · Contrast checker → · Palette generator →

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