#2A63BC#2A63BC

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

Color values

HEX#2A63BC
RGBrgb(42, 99, 188)
HSLhsl(217, 63%, 45%)
HSVhsv(217, 78%, 74%)
CMYKcmyk(77.7%, 47.3%, 0%, 26.3%)
CIE-LABlab(42.83, 13.52, -52.17)
CIE-LCHlch(42.83, 53.89, 284.53°)
OKLaboklab(51.14% -0.0285 -0.1498)
OKLCHoklch(51.14% 0.152 259.2)
XYZxyz(14.4905, 13.0451, 49.3215)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63BC #BC832A
analogous
#2AACBC #2A63BC #3A2ABC
triadic
#2A63BC #BC2A63 #63BC2A
tetradic
#2A63BC #BC2AAC #BC832A #2ABC3A
square
#2A63BC #BC2AAC #BC832A #2ABC3A
split-complementary
#2A63BC #BC3A2A #ACBC2A
monochromatic
#142E58 #1F498A #2A63BC #4C82D7 #7EA5E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A63BC#FFFFFF#000000##FFFFFF
##2A63BC1.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)
#326CBF
Deuteranopia (green-blind)
#045FBA
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a63bc;
/* rgb */ color: rgb(42, 99, 188);
/* oklch */ color: oklch(51.1% 0.152 259.2);
Tailwind
colors: {
  custom: {
    50: '#798ed1',
    500: '#2a63bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a63bc;
$custom-light: #798ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63bc",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 188
  },
  "hsl": {
    "h": 216.575,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51138,
    "c": 0.15249,
    "h": 259.2
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A63BC

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

Preview Lab → · Contrast checker → · Palette generator →

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