#2E63B6#2E63B6

#2E63B6 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.143 H 259.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2E63B6
RGBrgb(46, 99, 182)
HSLhsl(217, 60%, 45%)
HSVhsv(217, 75%, 71%)
CMYKcmyk(74.7%, 45.6%, 0%, 28.6%)
CIE-LABlab(42.58, 11.73, -49.06)
CIE-LCHlch(42.58, 50.44, 283.45°)
OKLaboklab(50.86% -0.0269 -0.1406)
OKLCHoklch(50.86% 0.143 259.2)
XYZxyz(14.0290, 12.8804, 45.9937)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E63B6 #B6812E
analogous
#2EA7B6 #2E63B6 #3D2EB6
triadic
#2E63B6 #B62E63 #63B62E
tetradic
#2E63B6 #B62EA7 #B6812E #2EB63D
square
#2E63B6 #B62EA7 #B6812E #2EB63D
split-complementary
#2E63B6 #B63D2E #A7B62E
monochromatic
#152E54 #224885 #2E63B6 #4F82D2 #80A5DF

Accessibility & contrast

On white

5.87
#2E63B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2E63B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E63B6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E63B6#FFFFFF#000000##FFFFFF
##2E63B61.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386BB9
Deuteranopia (green-blind)
#1B5FB4
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e63b6;
/* rgb */ color: rgb(46, 99, 182);
/* oklch */ color: oklch(50.9% 0.143 259.2);
Tailwind
colors: {
  custom: {
    50: '#798ecc',
    500: '#2e63b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e63b6;
$custom-light: #798ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e63b6",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 182
  },
  "hsl": {
    "h": 216.618,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.14316,
    "h": 259.2
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E63B6

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

Preview Lab → · Contrast checker → · Palette generator →

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