#2E63C1#2E63C1

#2E63C1 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.158 H 260.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2E63C1
RGBrgb(46, 99, 193)
HSLhsl(218, 62%, 47%)
HSVhsv(218, 76%, 76%)
CMYKcmyk(76.2%, 48.7%, 0%, 24.3%)
CIE-LABlab(43.29, 15.90, -54.32)
CIE-LCHlch(43.29, 56.60, 286.31°)
OKLaboklab(51.63% -0.0251 -0.1561)
OKLCHoklch(51.63% 0.158 260.9)
XYZxyz(15.2107, 13.3530, 52.2175)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E63C1 #C18C2E
analogous
#2EADC1 #2E63C1 #422EC1
triadic
#2E63C1 #C12E63 #63C12E
tetradic
#2E63C1 #C12EAD #C18C2E #2EC142
square
#2E63C1 #C12EAD #C18C2E #2EC142
split-complementary
#2E63C1 #C1422E #ADC12E
monochromatic
#16305E #224A90 #2E63C1 #5684D7 #87A8E2

Accessibility & contrast

On white

5.72
#2E63C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2E63C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E63C1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E63C1#FFFFFF#000000##FFFFFF
##2E63C11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC4
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#007989
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e63c1;
/* rgb */ color: rgb(46, 99, 193);
/* oklch */ color: oklch(51.6% 0.158 260.9);
Tailwind
colors: {
  custom: {
    50: '#7c8ed4',
    500: '#2e63c1',
    950: '#000000',
  },
}
SCSS
$custom: #2e63c1;
$custom-light: #7c8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e63c1",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 193
  },
  "hsl": {
    "h": 218.367,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.1581,
    "h": 260.9
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#2E63C1
secondary
#CCB07F
accent
#AA43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2E63C1

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

Preview Lab → · Contrast checker → · Palette generator →

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