#2E63B8#2E63B8

#2E63B8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.146 H 259.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2E63B8
RGBrgb(46, 99, 184)
HSLhsl(217, 60%, 45%)
HSVhsv(217, 75%, 72%)
CMYKcmyk(75%, 46.2%, 0%, 27.8%)
CIE-LABlab(42.71, 12.49, -50.03)
CIE-LCHlch(42.71, 51.56, 284.02°)
OKLaboklab(51% -0.0265 -0.1434)
OKLCHoklch(51% 0.146 259.5)
XYZxyz(14.2371, 12.9636, 47.0900)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E63B8 #B8832E
analogous
#2EA8B8 #2E63B8 #3E2EB8
triadic
#2E63B8 #B82E63 #63B82E
tetradic
#2E63B8 #B82EA8 #B8832E #2EB83E
square
#2E63B8 #B82EA8 #B8832E #2EB83E
split-complementary
#2E63B8 #B83E2E #A8B82E
monochromatic
#162E56 #224987 #2E63B8 #5082D3 #81A5DF

Accessibility & contrast

On white

5.84
#2E63B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2E63B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E63B8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E63B8#FFFFFF#000000##FFFFFF
##2E63B81.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366CBB
Deuteranopia (green-blind)
#165FB6
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e63b8;
/* rgb */ color: rgb(46, 99, 184);
/* oklch */ color: oklch(51.0% 0.146 259.5);
Tailwind
colors: {
  custom: {
    50: '#7a8ece',
    500: '#2e63b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e63b8;
$custom-light: #7a8ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2e63b8",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 184
  },
  "hsl": {
    "h": 216.957,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50999,
    "c": 0.14589,
    "h": 259.5
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#2E63B8
secondary
#C8AA79
accent
#A645E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2E63B8

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

Preview Lab → · Contrast checker → · Palette generator →

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