#2D63B5#2D63B5

#2D63B5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.142 H 258.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2D63B5
RGBrgb(45, 99, 181)
HSLhsl(216, 60%, 44%)
HSVhsv(216, 75%, 71%)
CMYKcmyk(75.1%, 45.3%, 0%, 29%)
CIE-LABlab(42.48, 11.22, -48.63)
CIE-LCHlch(42.48, 49.91, 282.99°)
OKLaboklab(50.76% -0.0278 -0.1394)
OKLCHoklch(50.76% 0.142 258.7)
XYZxyz(13.8815, 12.8162, 45.4493)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D63B5 #B57F2D
analogous
#2DA7B5 #2D63B5 #3B2DB5
triadic
#2D63B5 #B52D63 #63B52D
tetradic
#2D63B5 #B52DA7 #B57F2D #2DB53B
square
#2D63B5 #B52DA7 #B57F2D #2DB53B
split-complementary
#2D63B5 #B53B2D #A7B52D
monochromatic
#152D53 #214884 #2D63B5 #4D82D3 #7EA4DF

Accessibility & contrast

On white

5.89
#2D63B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2D63B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D63B5
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D63B5#FFFFFF#000000##FFFFFF
##2D63B51.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#1C5EB3
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d63b5;
/* rgb */ color: rgb(45, 99, 181);
/* oklch */ color: oklch(50.8% 0.142 258.7);
Tailwind
colors: {
  custom: {
    50: '#798ecc',
    500: '#2d63b5',
    950: '#000000',
  },
}
SCSS
$custom: #2d63b5;
$custom-light: #798ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d63b5",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 181
  },
  "hsl": {
    "h": 216.176,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.14211,
    "h": 258.7
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#2D63B5
secondary
#C7A776
accent
#A444E3
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D63B5

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

Preview Lab → · Contrast checker → · Palette generator →

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