#2D63B9#2D63B9

#2D63B9 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.148 H 259.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2D63B9
RGBrgb(45, 99, 185)
HSLhsl(217, 61%, 45%)
HSVhsv(217, 76%, 73%)
CMYKcmyk(75.7%, 46.5%, 0%, 27.5%)
CIE-LABlab(42.74, 12.74, -50.56)
CIE-LCHlch(42.74, 52.14, 284.14°)
OKLaboklab(51.03% -0.0271 -0.1451)
OKLCHoklch(51.03% 0.148 259.4)
XYZxyz(14.2978, 12.9827, 47.6419)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D63B9 #B9832D
analogous
#2DA9B9 #2D63B9 #3D2DB9
triadic
#2D63B9 #B92D63 #63B92D
tetradic
#2D63B9 #B92DA9 #B9832D #2DB93D
square
#2D63B9 #B92DA9 #B9832D #2DB93D
split-complementary
#2D63B9 #B93D2D #A9B92D
monochromatic
#152E57 #214988 #2D63B9 #4F82D4 #80A5E0

Accessibility & contrast

On white

5.84
#2D63B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2D63B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D63B9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D63B9#FFFFFF#000000##FFFFFF
##2D63B91.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBC
Deuteranopia (green-blind)
#135FB7
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d63b9;
/* rgb */ color: rgb(45, 99, 185);
/* oklch */ color: oklch(51.0% 0.148 259.4);
Tailwind
colors: {
  custom: {
    50: '#7a8ece',
    500: '#2d63b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d63b9;
$custom-light: #7a8ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2d63b9",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 185
  },
  "hsl": {
    "h": 216.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.14755,
    "h": 259.4
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#2D63B9
secondary
#C9AA79
accent
#A644E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2D63B9

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

Preview Lab → · Contrast checker → · Palette generator →

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