#2A3EC5#2A3EC5

#2A3EC5 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.7% C 0.208 H 268.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2A3EC5
RGBrgb(42, 62, 197)
HSLhsl(232, 65%, 47%)
HSVhsv(232, 79%, 77%)
CMYKcmyk(78.7%, 68.5%, 0%, 22.7%)
CIE-LABlab(33.91, 40.82, -71.94)
CIE-LCHlch(33.91, 82.71, 299.57°)
OKLaboklab(44.68% -0.004 -0.2083)
OKLCHoklch(44.68% 0.208 268.9)
XYZxyz(12.7520, 7.9672, 53.6783)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EC5 #C5B12A
analogous
#2A8CC5 #2A3EC5 #642AC5
triadic
#2A3EC5 #C52A3E #3EC52A
tetradic
#2A3EC5 #C52A8C #C5B12A #2AC564
square
#2A3EC5 #C52A8C #C5B12A #2AC564
split-complementary
#2A3EC5 #C5642A #8CC52A
monochromatic
#141E60 #1F2E93 #2A3EC5 #5264DA #8591E5

Accessibility & contrast

On white

8.10
#2A3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A3EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3EC5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3EC5#FFFFFF#000000##FFFFFF
##2A3EC51.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0048C3
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a3ec5;
/* rgb */ color: rgb(42, 62, 197);
/* oklch */ color: oklch(44.7% 0.208 268.9);
Tailwind
colors: {
  custom: {
    50: '#7e73d8',
    500: '#2a3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ec5;
$custom-light: #7e73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ec5",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 232.258,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44678,
    "c": 0.20837,
    "h": 268.9
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#2A3EC5
secondary
#CEC47D
accent
#D240E8
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2A3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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