#2E46C2#2E46C2

#2E46C2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.195 H 268.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2E46C2
RGBrgb(46, 70, 194)
HSLhsl(230, 62%, 47%)
HSVhsv(230, 76%, 76%)
CMYKcmyk(76.3%, 63.9%, 0%, 23.9%)
CIE-LABlab(35.70, 35.09, -67.24)
CIE-LCHlch(35.70, 75.84, 297.56°)
OKLaboklab(45.95% -0.0045 -0.1945)
OKLCHoklch(45.95% 0.195 268.7)
XYZxyz(13.0511, 8.8548, 52.0498)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E46C2 #C2AA2E
analogous
#2E90C2 #2E46C2 #602EC2
triadic
#2E46C2 #C22E46 #46C22E
tetradic
#2E46C2 #C22E90 #C2AA2E #2EC260
square
#2E46C2 #C22E90 #C2AA2E #2EC260
split-complementary
#2E46C2 #C2602E #90C22E
monochromatic
#17225F #223491 #2E46C2 #566BD7 #8896E3

Accessibility & contrast

On white

7.58
#2E46C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2E46C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E46C2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E46C2#FFFFFF#000000##FFFFFF
##2E46C21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e46c2;
/* rgb */ color: rgb(46, 70, 194);
/* oklch */ color: oklch(46.0% 0.195 268.7);
Tailwind
colors: {
  custom: {
    50: '#7e79d5',
    500: '#2e46c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e46c2;
$custom-light: #7e79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e46c2",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 230.27,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.19453,
    "h": 268.7
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#2E46C2
secondary
#CCC07F
accent
#CB43E5
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E46C2

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

Preview Lab → · Contrast checker → · Palette generator →

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