#2E43C2#2E43C2

#2E43C2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.4% C 0.198 H 269.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2E43C2
RGBrgb(46, 67, 194)
HSLhsl(231, 62%, 47%)
HSVhsv(231, 76%, 76%)
CMYKcmyk(76.3%, 65.5%, 0%, 23.9%)
CIE-LABlab(34.98, 37.00, -68.42)
CIE-LCHlch(34.98, 77.78, 298.40°)
OKLaboklab(45.42% -0.0027 -0.198)
OKLCHoklch(45.42% 0.198 269.2)
XYZxyz(12.8681, 8.4888, 51.9888)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E43C2 #C2AD2E
analogous
#2E8DC2 #2E43C2 #632EC2
triadic
#2E43C2 #C22E43 #43C22E
tetradic
#2E43C2 #C22E8D #C2AD2E #2EC263
square
#2E43C2 #C22E8D #C2AD2E #2EC263
split-complementary
#2E43C2 #C2632E #8DC22E
monochromatic
#17215F #223291 #2E43C2 #5668D7 #8895E3

Accessibility & contrast

On white

7.78
#2E43C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E43C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E43C2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E43C2#FFFFFF#000000##FFFFFF
##2E43C21.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e43c2;
/* rgb */ color: rgb(46, 67, 194);
/* oklch */ color: oklch(45.4% 0.198 269.2);
Tailwind
colors: {
  custom: {
    50: '#7e77d6',
    500: '#2e43c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e43c2;
$custom-light: #7e77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e43c2",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 231.486,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.19798,
    "h": 269.2
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#2E43C2
secondary
#CCC17F
accent
#CE43E5
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #2E43C2

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

Preview Lab → · Contrast checker → · Palette generator →

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