#2E63B4#2E63B4

#2E63B4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.140 H 258.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2E63B4
RGBrgb(46, 99, 180)
HSLhsl(216, 59%, 44%)
HSVhsv(216, 74%, 71%)
CMYKcmyk(74.4%, 45%, 0%, 29.4%)
CIE-LABlab(42.46, 10.97, -48.09)
CIE-LCHlch(42.46, 49.33, 282.85°)
OKLaboklab(50.72% -0.0273 -0.1377)
OKLCHoklch(50.72% 0.14 258.8)
XYZxyz(13.8238, 12.7983, 44.9129)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E63B4 #B47F2E
analogous
#2EA6B4 #2E63B4 #3C2EB4
triadic
#2E63B4 #B42E63 #63B42E
tetradic
#2E63B4 #B42EA6 #B47F2E #2EB43C
square
#2E63B4 #B42EA6 #B47F2E #2EB43C
split-complementary
#2E63B4 #B43C2E #A6B42E
monochromatic
#152D53 #224883 #2E63B4 #4E82D2 #7EA4DE

Accessibility & contrast

On white

5.90
#2E63B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2E63B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E63B4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E63B4#FFFFFF#000000##FFFFFF
##2E63B41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#1F5FB2
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e63b4;
/* rgb */ color: rgb(46, 99, 180);
/* oklch */ color: oklch(50.7% 0.140 258.8);
Tailwind
colors: {
  custom: {
    50: '#798ecb',
    500: '#2e63b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e63b4;
$custom-light: #798ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e63b4",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 180
  },
  "hsl": {
    "h": 216.269,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50725,
    "c": 0.14042,
    "h": 258.8
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#2E63B4
secondary
#C7A777
accent
#A445E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E63B4

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

Preview Lab → · Contrast checker → · Palette generator →

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