#2A43C5#2A43C5

#2A43C5 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.5% C 0.203 H 268.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2A43C5
RGBrgb(42, 67, 197)
HSLhsl(230, 65%, 47%)
HSVhsv(230, 79%, 77%)
CMYKcmyk(78.7%, 66%, 0%, 22.7%)
CIE-LABlab(35.08, 37.70, -70.03)
CIE-LCHlch(35.08, 79.53, 298.30°)
OKLaboklab(45.52% -0.0065 -0.2027)
OKLCHoklch(45.52% 0.203 268.2)
XYZxyz(13.0366, 8.5363, 53.7731)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43C5 #C5AC2A
analogous
#2A90C5 #2A43C5 #5F2AC5
triadic
#2A43C5 #C52A43 #43C52A
tetradic
#2A43C5 #C52A90 #C5AC2A #2AC55F
square
#2A43C5 #C52A90 #C5AC2A #2AC55F
split-complementary
#2A43C5 #C55F2A #90C52A
monochromatic
#142160 #1F3293 #2A43C5 #5268DA #8594E5

Accessibility & contrast

On white

7.76
#2A43C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2A43C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43C5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43C5#FFFFFF#000000##FFFFFF
##2A43C51.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a43c5;
/* rgb */ color: rgb(42, 67, 197);
/* oklch */ color: oklch(45.5% 0.203 268.2);
Tailwind
colors: {
  custom: {
    50: '#7d77d8',
    500: '#2a43c5',
    950: '#000000',
  },
}
SCSS
$custom: #2a43c5;
$custom-light: #7d77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43c5",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 230.323,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45524,
    "c": 0.20283,
    "h": 268.2
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#2A43C5
secondary
#CEC17D
accent
#CD40E8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2A43C5

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

Preview Lab → · Contrast checker → · Palette generator →

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