#2A3CC5#2A3CC5

#2A3CC5 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.4% C 0.211 H 269.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2A3CC5
RGBrgb(42, 60, 197)
HSLhsl(233, 65%, 47%)
HSVhsv(233, 79%, 77%)
CMYKcmyk(78.7%, 69.5%, 0%, 22.7%)
CIE-LABlab(33.46, 42.04, -72.68)
CIE-LCHlch(33.46, 83.96, 300.05°)
OKLaboklab(44.35% -0.0031 -0.2105)
OKLCHoklch(44.35% 0.211 269.1)
XYZxyz(12.6453, 7.7537, 53.6427)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CC5 #C5B32A
analogous
#2A8AC5 #2A3CC5 #652AC5
triadic
#2A3CC5 #C52A3C #3CC52A
tetradic
#2A3CC5 #C52A8A #C5B32A #2AC565
square
#2A3CC5 #C52A8A #C5B32A #2AC565
split-complementary
#2A3CC5 #C5652A #8AC52A
monochromatic
#141D60 #1F2D93 #2A3CC5 #5262DA #8590E5

Accessibility & contrast

On white

8.23
#2A3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A3CC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CC5
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CC5#FFFFFF#000000##FFFFFF
##2A3CC51.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0047C3
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a3cc5;
/* rgb */ color: rgb(42, 60, 197);
/* oklch */ color: oklch(44.4% 0.211 269.1);
Tailwind
colors: {
  custom: {
    50: '#7e72d8',
    500: '#2a3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3cc5;
$custom-light: #7e72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3cc5",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 233.032,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44352,
    "c": 0.21051,
    "h": 269.1
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#2A3CC5
secondary
#CEC57D
accent
#D440E8
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2A3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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