#2E63B7#2E63B7

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

Color values

HEX#2E63B7
RGBrgb(46, 99, 183)
HSLhsl(217, 60%, 45%)
HSVhsv(217, 75%, 72%)
CMYKcmyk(74.9%, 45.9%, 0%, 28.2%)
CIE-LABlab(42.65, 12.11, -49.54)
CIE-LCHlch(42.65, 51.00, 283.73°)
OKLaboklab(50.93% -0.0267 -0.142)
OKLCHoklch(50.93% 0.145 259.3)
XYZxyz(14.1327, 12.9218, 46.5399)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E63B7 #B7822E
analogous
#2EA8B7 #2E63B7 #3D2EB7
triadic
#2E63B7 #B72E63 #63B72E
tetradic
#2E63B7 #B72EA8 #B7822E #2EB73D
square
#2E63B7 #B72EA8 #B7822E #2EB73D
split-complementary
#2E63B7 #B73D2E #A8B72E
monochromatic
#152E55 #224986 #2E63B7 #4F82D3 #80A5DF

Accessibility & contrast

On white

5.86
#2E63B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E63B7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E63B7#FFFFFF#000000##FFFFFF
##2E63B71.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#195FB5
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e63b7;
/* rgb */ color: rgb(46, 99, 183);
/* oklch */ color: oklch(50.9% 0.145 259.3);
Tailwind
colors: {
  custom: {
    50: '#798ecd',
    500: '#2e63b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e63b7;
$custom-light: #798ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e63b7",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 183
  },
  "hsl": {
    "h": 216.788,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.14452,
    "h": 259.3
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#2E63B7
secondary
#C8A979
accent
#A645E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E63B7

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

Preview Lab → · Contrast checker → · Palette generator →

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