#2A35A3#2A35A3

#2A35A3 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.175 H 271.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2A35A3
RGBrgb(42, 53, 163)
HSLhsl(235, 59%, 40%)
HSVhsv(235, 74%, 64%)
CMYKcmyk(74.2%, 67.5%, 0%, 36.1%)
CIE-LABlab(28.60, 34.29, -60.47)
CIE-LCHlch(28.60, 69.52, 299.55°)
OKLaboklab(39.84% 0.0038 -0.1749)
OKLCHoklch(39.84% 0.175 271.2)
XYZxyz(8.8366, 5.6819, 35.2742)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A35A3 #A3982A
analogous
#2A72A3 #2A35A3 #5B2AA3
triadic
#2A35A3 #A32A35 #35A32A
tetradic
#2A35A3 #A32A72 #A3982A #2AA35B
square
#2A35A3 #A32A72 #A3982A #2AA35B
split-complementary
#2A35A3 #A35B2A #72A32A
monochromatic
#111542 #1D2572 #2A35A3 #3D4ACD #6E78DA

Accessibility & contrast

On white

9.83
#2A35A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2A35A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A35A3
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A35A3#FFFFFF#000000##FFFFFF
##2A35A31.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a35a3;
/* rgb */ color: rgb(42, 53, 163);
/* oklch */ color: oklch(39.8% 0.175 271.2);
Tailwind
colors: {
  custom: {
    50: '#766cbf',
    500: '#2a35a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a35a3;
$custom-light: #766cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a35a3",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 234.545,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39835,
    "c": 0.17492,
    "h": 271.2
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#2A35A3
secondary
#C0B868
accent
#D446E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A35A3

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

Preview Lab → · Contrast checker → · Palette generator →

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