#2A359F#2A359F

#2A359F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.170 H 271.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2A359F
RGBrgb(42, 53, 159)
HSLhsl(234, 58%, 39%)
HSVhsv(234, 74%, 62%)
CMYKcmyk(73.6%, 66.7%, 0%, 37.6%)
CIE-LABlab(28.22, 32.84, -58.66)
CIE-LCHlch(28.22, 67.22, 299.24°)
OKLaboklab(39.45% 0.0041 -0.1696)
OKLCHoklch(39.45% 0.17 271.4)
XYZxyz(8.4838, 5.5408, 33.4165)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A359F #9F942A
analogous
#2A709F #2A359F #5A2A9F
triadic
#2A359F #9F2A35 #359F2A
tetradic
#2A359F #9F2A70 #9F942A #2A9F5A
square
#2A359F #9F2A70 #9F942A #2A9F5A
split-complementary
#2A359F #9F5A2A #709F2A
monochromatic
#10153E #1D256F #2A359F #3B49CB #6B76D8

Accessibility & contrast

On white

9.96
#2A359F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A359F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A359F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A359F#FFFFFF#000000##FFFFFF
##2A359F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a359f;
/* rgb */ color: rgb(42, 53, 159);
/* oklch */ color: oklch(39.5% 0.170 271.4);
Tailwind
colors: {
  custom: {
    50: '#756cbc',
    500: '#2a359f',
    950: '#000000',
  },
}
SCSS
$custom: #2a359f;
$custom-light: #756cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a359f",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 159
  },
  "hsl": {
    "h": 234.359,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.16962,
    "h": 271.4
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#2A359F
secondary
#BFB666
accent
#D346E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A359F

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

Preview Lab → · Contrast checker → · Palette generator →

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