#2D63B2#2D63B2

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

Color values

HEX#2D63B2
RGBrgb(45, 99, 178)
HSLhsl(216, 60%, 44%)
HSVhsv(216, 75%, 70%)
CMYKcmyk(74.7%, 44.4%, 0%, 30.2%)
CIE-LABlab(42.30, 10.08, -47.17)
CIE-LCHlch(42.30, 48.24, 282.06°)
OKLaboklab(50.55% -0.0283 -0.1351)
OKLCHoklch(50.55% 0.138 258.2)
XYZxyz(13.5770, 12.6944, 43.8456)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D63B2 #B27C2D
analogous
#2DA5B2 #2D63B2 #392DB2
triadic
#2D63B2 #B22D63 #63B22D
tetradic
#2D63B2 #B22DA5 #B27C2D #2DB239
square
#2D63B2 #B22DA5 #B27C2D #2DB239
split-complementary
#2D63B2 #B2392D #A5B22D
monochromatic
#142D50 #214881 #2D63B2 #4B81D1 #7CA3DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D63B2#FFFFFF#000000##FFFFFF
##2D63B21.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)
#215EB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d63b2;
/* rgb */ color: rgb(45, 99, 178);
/* oklch */ color: oklch(50.6% 0.138 258.2);
Tailwind
colors: {
  custom: {
    50: '#788ec9',
    500: '#2d63b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d63b2;
$custom-light: #788ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d63b2",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 215.639,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50553,
    "c": 0.13802,
    "h": 258.2
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#2D63B2
secondary
#C6A575
accent
#A345E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D63B2

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

Preview Lab → · Contrast checker → · Palette generator →

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