#2A63BA#2A63BA

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

Color values

HEX#2A63BA
RGBrgb(42, 99, 186)
HSLhsl(216, 63%, 45%)
HSVhsv(216, 77%, 73%)
CMYKcmyk(77.4%, 46.8%, 0%, 27.1%)
CIE-LABlab(42.70, 12.76, -51.21)
CIE-LCHlch(42.70, 52.77, 283.99°)
OKLaboklab(51% -0.0289 -0.147)
OKLCHoklch(51% 0.15 258.9)
XYZxyz(14.2764, 12.9594, 48.1939)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63BA #BA812A
analogous
#2AABBA #2A63BA #392ABA
triadic
#2A63BA #BA2A63 #63BA2A
tetradic
#2A63BA #BA2AAB #BA812A #2ABA39
square
#2A63BA #BA2AAB #BA812A #2ABA39
split-complementary
#2A63BA #BA392A #ABBA2A
monochromatic
#132E56 #1F4888 #2A63BA #4B82D6 #7DA5E2

Accessibility & contrast

On white

5.85
#2A63BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2A63BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63BA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63BA#FFFFFF#000000##FFFFFF
##2A63BA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a63ba;
/* rgb */ color: rgb(42, 99, 186);
/* oklch */ color: oklch(51.0% 0.150 258.9);
Tailwind
colors: {
  custom: {
    50: '#798ecf',
    500: '#2a63ba',
    950: '#000000',
  },
}
SCSS
$custom: #2a63ba;
$custom-light: #798ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63ba",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 216.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50998,
    "c": 0.1498,
    "h": 258.9
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#2A63BA
secondary
#CAA976
accent
#A542E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2A63BA

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

Preview Lab → · Contrast checker → · Palette generator →

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