#2D63BA#2D63BA

#2D63BA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.149 H 259.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2D63BA
RGBrgb(45, 99, 186)
HSLhsl(217, 61%, 45%)
HSVhsv(217, 76%, 73%)
CMYKcmyk(75.8%, 46.8%, 0%, 27.1%)
CIE-LABlab(42.80, 13.12, -51.04)
CIE-LCHlch(42.80, 52.70, 284.41°)
OKLaboklab(51.1% -0.0269 -0.1465)
OKLCHoklch(51.1% 0.149 259.6)
XYZxyz(14.4037, 13.0251, 48.1998)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D63BA #BA842D
analogous
#2DAABA #2D63BA #3D2DBA
triadic
#2D63BA #BA2D63 #63BA2D
tetradic
#2D63BA #BA2DAA #BA842D #2DBA3D
square
#2D63BA #BA2DAA #BA842D #2DBA3D
split-complementary
#2D63BA #BA3D2D #AABA2D
monochromatic
#152F57 #214989 #2D63BA #5083D5 #81A6E0

Accessibility & contrast

On white

5.82
#2D63BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2D63BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D63BA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D63BA#FFFFFF#000000##FFFFFF
##2D63BA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#105FB8
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d63ba;
/* rgb */ color: rgb(45, 99, 186);
/* oklch */ color: oklch(51.1% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#7a8ecf',
    500: '#2d63ba',
    950: '#000000',
  },
}
SCSS
$custom: #2d63ba;
$custom-light: #7a8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d63ba",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 217.021,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51102,
    "c": 0.14891,
    "h": 259.6
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#2D63BA
secondary
#C9AB79
accent
#A744E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2D63BA

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

Preview Lab → · Contrast checker → · Palette generator →

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