#2D63B7#2D63B7

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

Color values

HEX#2D63B7
RGBrgb(45, 99, 183)
HSLhsl(217, 61%, 45%)
HSVhsv(217, 75%, 72%)
CMYKcmyk(75.4%, 45.9%, 0%, 28.2%)
CIE-LABlab(42.61, 11.98, -49.60)
CIE-LCHlch(42.61, 51.03, 283.58°)
OKLaboklab(50.89% -0.0274 -0.1422)
OKLCHoklch(50.89% 0.145 259.1)
XYZxyz(14.0882, 12.8989, 46.5378)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D63B7 #B7812D
analogous
#2DA8B7 #2D63B7 #3C2DB7
triadic
#2D63B7 #B72D63 #63B72D
tetradic
#2D63B7 #B72DA8 #B7812D #2DB73C
square
#2D63B7 #B72DA8 #B7812D #2DB73C
split-complementary
#2D63B7 #B73C2D #A8B72D
monochromatic
#152E55 #214886 #2D63B7 #4E82D3 #7FA5DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D63B7#FFFFFF#000000##FFFFFF
##2D63B71.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)
#376BBA
Deuteranopia (green-blind)
#185FB5
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d63b7;
/* rgb */ color: rgb(45, 99, 183);
/* oklch */ color: oklch(50.9% 0.145 259.1);
Tailwind
colors: {
  custom: {
    50: '#798ecd',
    500: '#2d63b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d63b7;
$custom-light: #798ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d63b7",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 183
  },
  "hsl": {
    "h": 216.522,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.14483,
    "h": 259.1
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D63B7

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

Preview Lab → · Contrast checker → · Palette generator →

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