#2E63AE#2E63AE

#2E63AE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.3% C 0.132 H 257.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2E63AE
RGBrgb(46, 99, 174)
HSLhsl(215, 58%, 43%)
HSVhsv(215, 74%, 68%)
CMYKcmyk(73.6%, 43.1%, 0%, 31.8%)
CIE-LABlab(42.09, 8.70, -45.16)
CIE-LCHlch(42.09, 45.99, 280.91°)
OKLaboklab(50.32% -0.0284 -0.1291)
OKLCHoklch(50.32% 0.132 257.6)
XYZxyz(13.2257, 12.5591, 41.7633)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E63AE #AE792E
analogous
#2EA3AE #2E63AE #392EAE
triadic
#2E63AE #AE2E63 #63AE2E
tetradic
#2E63AE #AE2EA3 #AE792E #2EAE39
square
#2E63AE #AE2EA3 #AE792E #2EAE39
split-complementary
#2E63AE #AE392E #A3AE2E
monochromatic
#142C4D #21477E #2E63AE #4A81CF #7AA3DC

Accessibility & contrast

On white

5.98
#2E63AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2E63AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E63AE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E63AE#FFFFFF#000000##FFFFFF
##2E63AE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB1
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e63ae;
/* rgb */ color: rgb(46, 99, 174);
/* oklch */ color: oklch(50.3% 0.132 257.6);
Tailwind
colors: {
  custom: {
    50: '#788ec6',
    500: '#2e63ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e63ae;
$custom-light: #788ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e63ae",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 174
  },
  "hsl": {
    "h": 215.156,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50323,
    "c": 0.13223,
    "h": 257.6
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#2E63AE
secondary
#C4A374
accent
#A146E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E63AE

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

Preview Lab → · Contrast checker → · Palette generator →

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