#2A63C7#2A63C7

#2A63C7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.9% C 0.167 H 260.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2A63C7
RGBrgb(42, 99, 199)
HSLhsl(218, 65%, 47%)
HSVhsv(218, 79%, 78%)
CMYKcmyk(78.9%, 50.3%, 0%, 22%)
CIE-LABlab(43.56, 17.73, -57.36)
CIE-LCHlch(43.56, 60.04, 287.18°)
OKLaboklab(51.93% -0.0269 -0.1651)
OKLCHoklch(51.93% 0.167 260.7)
XYZxyz(15.7218, 13.5376, 55.8062)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63C7 #C78E2A
analogous
#2AB1C7 #2A63C7 #402AC7
triadic
#2A63C7 #C72A63 #63C72A
tetradic
#2A63C7 #C72AB1 #C78E2A #2AC740
square
#2A63C7 #C72AB1 #C78E2A #2AC740
split-complementary
#2A63C7 #C7402A #B1C72A
monochromatic
#153162 #1F4A94 #2A63C7 #5385DB #86A9E5

Accessibility & contrast

On white

5.66
#2A63C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2A63C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63C7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63C7#FFFFFF#000000##FFFFFF
##2A63C71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246ECB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#007B8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a63c7;
/* rgb */ color: rgb(42, 99, 199);
/* oklch */ color: oklch(51.9% 0.167 260.7);
Tailwind
colors: {
  custom: {
    50: '#7c8ed9',
    500: '#2a63c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a63c7;
$custom-light: #7c8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63c7",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 199
  },
  "hsl": {
    "h": 218.217,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51933,
    "c": 0.16727,
    "h": 260.7
  },
  "luminance": 0.13539
}

Semantic roles & 50–950 ramp

primary
#2A63C7
secondary
#CFB17E
accent
#AB40E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2A63C7

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

Preview Lab → · Contrast checker → · Palette generator →

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