#2E63B5#2E63B5

#2E63B5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.142 H 259.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2E63B5
RGBrgb(46, 99, 181)
HSLhsl(216, 59%, 45%)
HSVhsv(216, 75%, 71%)
CMYKcmyk(74.6%, 45.3%, 0%, 29%)
CIE-LABlab(42.52, 11.35, -48.58)
CIE-LCHlch(42.52, 49.88, 283.15°)
OKLaboklab(50.79% -0.0271 -0.1392)
OKLCHoklch(50.79% 0.142 259)
XYZxyz(13.9260, 12.8392, 45.4514)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E63B5 #B5802E
analogous
#2EA7B5 #2E63B5 #3C2EB5
triadic
#2E63B5 #B52E63 #63B52E
tetradic
#2E63B5 #B52EA7 #B5802E #2EB53C
square
#2E63B5 #B52EA7 #B5802E #2EB53C
split-complementary
#2E63B5 #B53C2E #A7B52E
monochromatic
#152E53 #224884 #2E63B5 #4E82D2 #7FA4DE

Accessibility & contrast

On white

5.89
#2E63B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2E63B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E63B5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E63B5#FFFFFF#000000##FFFFFF
##2E63B51.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#1D5FB3
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e63b5;
/* rgb */ color: rgb(46, 99, 181);
/* oklch */ color: oklch(50.8% 0.142 259.0);
Tailwind
colors: {
  custom: {
    50: '#798ecc',
    500: '#2e63b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e63b5;
$custom-light: #798ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e63b5",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 181
  },
  "hsl": {
    "h": 216.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50793,
    "c": 0.14179,
    "h": 259
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

primary
#2E63B5
secondary
#C7A878
accent
#A545E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E63B5

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

Preview Lab → · Contrast checker → · Palette generator →

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