#2D63B6#2D63B6

#2D63B6 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.8% C 0.143 H 258.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2D63B6
RGBrgb(45, 99, 182)
HSLhsl(216, 60%, 45%)
HSVhsv(216, 75%, 71%)
CMYKcmyk(75.3%, 45.6%, 0%, 28.6%)
CIE-LABlab(42.55, 11.60, -49.12)
CIE-LCHlch(42.55, 50.47, 283.29°)
OKLaboklab(50.83% -0.0276 -0.1408)
OKLCHoklch(50.83% 0.143 258.9)
XYZxyz(13.9845, 12.8574, 45.9916)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D63B6 #B6802D
analogous
#2DA8B6 #2D63B6 #3B2DB6
triadic
#2D63B6 #B62D63 #63B62D
tetradic
#2D63B6 #B62DA8 #B6802D #2DB63B
square
#2D63B6 #B62DA8 #B6802D #2DB63B
split-complementary
#2D63B6 #B63B2D #A8B62D
monochromatic
#152E54 #214885 #2D63B6 #4D82D3 #7EA4DF

Accessibility & contrast

On white

5.88
#2D63B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2D63B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D63B6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D63B6#FFFFFF#000000##FFFFFF
##2D63B61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386BB9
Deuteranopia (green-blind)
#1A5FB4
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d63b6;
/* rgb */ color: rgb(45, 99, 182);
/* oklch */ color: oklch(50.8% 0.143 258.9);
Tailwind
colors: {
  custom: {
    50: '#798ecc',
    500: '#2d63b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d63b6;
$custom-light: #798ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d63b6",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 182
  },
  "hsl": {
    "h": 216.35,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50825,
    "c": 0.14347,
    "h": 258.9
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#2D63B6
secondary
#C8A877
accent
#A544E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D63B6

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

Preview Lab → · Contrast checker → · Palette generator →

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