#2A359E#2A359E

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

Color values

HEX#2A359E
RGBrgb(42, 53, 158)
HSLhsl(234, 58%, 39%)
HSVhsv(234, 73%, 62%)
CMYKcmyk(73.4%, 66.5%, 0%, 38%)
CIE-LABlab(28.13, 32.47, -58.20)
CIE-LCHlch(28.13, 66.65, 299.16°)
OKLaboklab(39.35% 0.0042 -0.1682)
OKLCHoklch(39.35% 0.168 271.4)
XYZxyz(8.3974, 5.5062, 32.9614)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A359E #9E932A
analogous
#2A6F9E #2A359E #592A9E
triadic
#2A359E #9E2A35 #359E2A
tetradic
#2A359E #9E2A6F #9E932A #2A9E59
square
#2A359E #9E2A6F #9E932A #2A9E59
split-complementary
#2A359E #9E592A #6F9E2A
monochromatic
#10153D #1D256E #2A359E #3A48CB #6B75D8

Accessibility & contrast

On white

9.99
#2A359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A359E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A359E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A359E#FFFFFF#000000##FFFFFF
##2A359E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a359e;
/* rgb */ color: rgb(42, 53, 158);
/* oklch */ color: oklch(39.4% 0.168 271.4);
Tailwind
colors: {
  custom: {
    50: '#756cbc',
    500: '#2a359e',
    950: '#000000',
  },
}
SCSS
$custom: #2a359e;
$custom-light: #756cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a359e",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 234.31,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.16829,
    "h": 271.4
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A359E

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

Preview Lab → · Contrast checker → · Palette generator →

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