#2A63BD#2A63BD

#2A63BD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.2% C 0.154 H 259.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2A63BD
RGBrgb(42, 99, 189)
HSLhsl(217, 64%, 45%)
HSVhsv(217, 78%, 74%)
CMYKcmyk(77.8%, 47.6%, 0%, 25.9%)
CIE-LABlab(42.90, 13.91, -52.64)
CIE-LCHlch(42.90, 54.45, 284.80°)
OKLaboklab(51.21% -0.0284 -0.1512)
OKLCHoklch(51.21% 0.154 259.4)
XYZxyz(14.5986, 13.0883, 49.8911)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63BD #BD842A
analogous
#2AACBD #2A63BD #3B2ABD
triadic
#2A63BD #BD2A63 #63BD2A
tetradic
#2A63BD #BD2AAC #BD842A #2ABD3B
square
#2A63BD #BD2AAC #BD842A #2ABD3B
split-complementary
#2A63BD #BD3B2A #ACBD2A
monochromatic
#142F59 #1F498B #2A63BD #4D83D7 #7FA6E3

Accessibility & contrast

On white

5.80
#2A63BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2A63BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63BD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63BD#FFFFFF#000000##FFFFFF
##2A63BD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a63bd;
/* rgb */ color: rgb(42, 99, 189);
/* oklch */ color: oklch(51.2% 0.154 259.4);
Tailwind
colors: {
  custom: {
    50: '#798ed1',
    500: '#2a63bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a63bd;
$custom-light: #798ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63bd",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 189
  },
  "hsl": {
    "h": 216.735,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.15385,
    "h": 259.4
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#2A63BD
secondary
#CBAB78
accent
#A641E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2A63BD

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

Preview Lab → · Contrast checker → · Palette generator →

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