#2E63B2#2E63B2

#2E63B2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.138 H 258.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2E63B2
RGBrgb(46, 99, 178)
HSLhsl(216, 59%, 44%)
HSVhsv(216, 74%, 70%)
CMYKcmyk(74.2%, 44.4%, 0%, 30.2%)
CIE-LABlab(42.33, 10.22, -47.12)
CIE-LCHlch(42.33, 48.21, 282.23°)
OKLaboklab(50.59% -0.0276 -0.1349)
OKLCHoklch(50.59% 0.138 258.4)
XYZxyz(13.6215, 12.7174, 43.8477)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E63B2 #B27D2E
analogous
#2EA5B2 #2E63B2 #3B2EB2
triadic
#2E63B2 #B22E63 #63B22E
tetradic
#2E63B2 #B22EA5 #B27D2E #2EB23B
square
#2E63B2 #B22EA5 #B27D2E #2EB23B
split-complementary
#2E63B2 #B23B2E #A5B22E
monochromatic
#152D51 #214881 #2E63B2 #4C82D1 #7DA4DD

Accessibility & contrast

On white

5.93
#2E63B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2E63B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E63B2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E63B2#FFFFFF#000000##FFFFFF
##2E63B21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#225EB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e63b2;
/* rgb */ color: rgb(46, 99, 178);
/* oklch */ color: oklch(50.6% 0.138 258.4);
Tailwind
colors: {
  custom: {
    50: '#788ec9',
    500: '#2e63b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e63b2;
$custom-light: #788ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e63b2",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 215.909,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.13769,
    "h": 258.4
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#2E63B2
secondary
#C6A676
accent
#A346E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E63B2

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

Preview Lab → · Contrast checker → · Palette generator →

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