#2A359B#2A359B

#2A359B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.164 H 271.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2A359B
RGBrgb(42, 53, 155)
HSLhsl(234, 57%, 39%)
HSVhsv(234, 73%, 61%)
CMYKcmyk(72.9%, 65.8%, 0%, 39.2%)
CIE-LABlab(27.86, 31.38, -56.83)
CIE-LCHlch(27.86, 64.91, 298.91°)
OKLaboklab(39.07% 0.0044 -0.1642)
OKLCHoklch(39.07% 0.164 271.5)
XYZxyz(8.1423, 5.4042, 31.6180)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A359B #9B902A
analogous
#2A6D9B #2A359B #572A9B
triadic
#2A359B #9B2A35 #359B2A
tetradic
#2A359B #9B2A6D #9B902A #2A9B57
square
#2A359B #9B2A6D #9B902A #2A9B57
split-complementary
#2A359B #9B572A #6D9B2A
monochromatic
#10143B #1D256B #2A359B #3947C9 #6974D6

Accessibility & contrast

On white

10.09
#2A359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A359B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A359B#FFFFFF#000000##FFFFFF
##2A359B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a359b;
/* rgb */ color: rgb(42, 53, 155);
/* oklch */ color: oklch(39.1% 0.164 271.5);
Tailwind
colors: {
  custom: {
    50: '#746cb9',
    500: '#2a359b',
    950: '#000000',
  },
}
SCSS
$custom: #2a359b;
$custom-light: #746cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a359b",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 234.159,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39069,
    "c": 0.16427,
    "h": 271.5
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#2A359B
secondary
#BDB464
accent
#D247E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2A359B

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

Preview Lab → · Contrast checker → · Palette generator →

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