#2D63B1#2D63B1

#2D63B1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.5% C 0.137 H 257.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2D63B1
RGBrgb(45, 99, 177)
HSLhsl(215, 59%, 44%)
HSVhsv(215, 75%, 69%)
CMYKcmyk(74.6%, 44.1%, 0%, 30.6%)
CIE-LABlab(42.24, 9.70, -46.69)
CIE-LCHlch(42.24, 47.68, 281.74°)
OKLaboklab(50.49% -0.0285 -0.1336)
OKLCHoklch(50.49% 0.137 257.9)
XYZxyz(13.4769, 12.6544, 43.3187)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D63B1 #B17B2D
analogous
#2DA5B1 #2D63B1 #392DB1
triadic
#2D63B1 #B12D63 #63B12D
tetradic
#2D63B1 #B12DA5 #B17B2D #2DB139
square
#2D63B1 #B12DA5 #B17B2D #2DB139
split-complementary
#2D63B1 #B1392D #A5B12D
monochromatic
#142C4F #214880 #2D63B1 #4A81D1 #7BA3DD

Accessibility & contrast

On white

5.95
#2D63B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2D63B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D63B1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D63B1#FFFFFF#000000##FFFFFF
##2D63B11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d63b1;
/* rgb */ color: rgb(45, 99, 177);
/* oklch */ color: oklch(50.5% 0.137 257.9);
Tailwind
colors: {
  custom: {
    50: '#788ec9',
    500: '#2d63b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d63b1;
$custom-light: #788ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d63b1",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 177
  },
  "hsl": {
    "h": 215.455,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.13665,
    "h": 257.9
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#2D63B1
secondary
#C6A474
accent
#A245E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D63B1

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

Preview Lab → · Contrast checker → · Palette generator →

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