#2A3CA4#2A3CA4

#2A3CA4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.168 H 269.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2A3CA4
RGBrgb(42, 60, 164)
HSLhsl(231, 59%, 40%)
HSVhsv(231, 74%, 64%)
CMYKcmyk(74.4%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.41, 30.11, -58.11)
CIE-LCHlch(30.41, 65.44, 297.39°)
OKLaboklab(41.19% -0.0008 -0.1679)
OKLCHoklch(41.19% 0.168 269.7)
XYZxyz(9.2692, 6.4033, 35.8622)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CA4 #A4922A
analogous
#2A79A4 #2A3CA4 #552AA4
triadic
#2A3CA4 #A42A3C #3CA42A
tetradic
#2A3CA4 #A42A79 #A4922A #2AA455
square
#2A3CA4 #A42A79 #A4922A #2AA455
split-complementary
#2A3CA4 #A4552A #79A42A
monochromatic
#111843 #1E2A73 #2A3CA4 #3E53CD #6E7EDA

Accessibility & contrast

On white

9.21
#2A3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2A3CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CA4
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CA4#FFFFFF#000000##FFFFFF
##2A3CA41.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3ca4;
/* rgb */ color: rgb(42, 60, 164);
/* oklch */ color: oklch(41.2% 0.168 269.7);
Tailwind
colors: {
  custom: {
    50: '#7671c0',
    500: '#2a3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ca4;
$custom-light: #7671c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ca4",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 231.148,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.1679,
    "h": 269.7
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#2A3CA4
secondary
#C1B469
accent
#CB45E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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