#2A41C5#2A41C5

#2A41C5 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.2% C 0.205 H 268.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2A41C5
RGBrgb(42, 65, 197)
HSLhsl(231, 65%, 47%)
HSVhsv(231, 79%, 77%)
CMYKcmyk(78.7%, 67%, 0%, 22.7%)
CIE-LABlab(34.61, 38.96, -70.80)
CIE-LCHlch(34.61, 80.81, 298.82°)
OKLaboklab(45.18% -0.0055 -0.205)
OKLCHoklch(45.18% 0.205 268.5)
XYZxyz(12.9197, 8.3026, 53.7341)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41C5 #C5AE2A
analogous
#2A8FC5 #2A41C5 #612AC5
triadic
#2A41C5 #C52A41 #41C52A
tetradic
#2A41C5 #C52A8F #C5AE2A #2AC561
square
#2A41C5 #C52A8F #C5AE2A #2AC561
split-complementary
#2A41C5 #C5612A #8FC52A
monochromatic
#142060 #1F3093 #2A41C5 #5266DA #8593E5

Accessibility & contrast

On white

7.89
#2A41C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2A41C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41C5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41C5#FFFFFF#000000##FFFFFF
##2A41C51.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#004AC3
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a41c5;
/* rgb */ color: rgb(42, 65, 197);
/* oklch */ color: oklch(45.2% 0.205 268.5);
Tailwind
colors: {
  custom: {
    50: '#7e76d8',
    500: '#2a41c5',
    950: '#000000',
  },
}
SCSS
$custom: #2a41c5;
$custom-light: #7e76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41c5",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 231.097,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4518,
    "c": 0.20507,
    "h": 268.5
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#2A41C5
secondary
#CEC27D
accent
#CF40E8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2A41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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