#2A349F#2A349F

#2A349F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.171 H 271.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2A349F
RGBrgb(42, 52, 159)
HSLhsl(235, 58%, 39%)
HSVhsv(235, 74%, 62%)
CMYKcmyk(73.6%, 67.3%, 0%, 37.6%)
CIE-LABlab(27.98, 33.48, -59.05)
CIE-LCHlch(27.98, 67.89, 299.55°)
OKLaboklab(39.27% 0.0048 -0.1707)
OKLCHoklch(39.27% 0.171 271.6)
XYZxyz(8.4387, 5.4506, 33.4015)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A349F #9F952A
analogous
#2A6F9F #2A349F #5B2A9F
triadic
#2A349F #9F2A34 #349F2A
tetradic
#2A349F #9F2A6F #9F952A #2A9F5B
square
#2A349F #9F2A6F #9F952A #2A9F5B
split-complementary
#2A349F #9F5B2A #6F9F2A
monochromatic
#10143E #1D246F #2A349F #3B47CB #6B75D8

Accessibility & contrast

On white

10.05
#2A349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A349F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A349F#FFFFFF#000000##FFFFFF
##2A349F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a349f;
/* rgb */ color: rgb(42, 52, 159);
/* oklch */ color: oklch(39.3% 0.171 271.6);
Tailwind
colors: {
  custom: {
    50: '#756bbc',
    500: '#2a349f',
    950: '#000000',
  },
}
SCSS
$custom: #2a349f;
$custom-light: #756bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a349f",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 234.872,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39274,
    "c": 0.17081,
    "h": 271.6
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#2A349F
secondary
#BFB766
accent
#D446E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A349F

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

Preview Lab → · Contrast checker → · Palette generator →

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