#2A63C1#2A63C1

#2A63C1 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.5% C 0.159 H 260.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2A63C1
RGBrgb(42, 99, 193)
HSLhsl(217, 64%, 46%)
HSVhsv(217, 78%, 76%)
CMYKcmyk(78.2%, 48.7%, 0%, 24.3%)
CIE-LABlab(43.16, 15.44, -54.54)
CIE-LCHlch(43.16, 56.69, 285.80°)
OKLaboklab(51.5% -0.0278 -0.1568)
OKLCHoklch(51.5% 0.159 260)
XYZxyz(15.0388, 13.2644, 52.2094)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63C1 #C1882A
analogous
#2AAEC1 #2A63C1 #3C2AC1
triadic
#2A63C1 #C12A63 #63C12A
tetradic
#2A63C1 #C12AAE #C1882A #2AC13C
square
#2A63C1 #C12AAE #C1882A #2AC13C
split-complementary
#2A63C1 #C13C2A #AEC12A
monochromatic
#142F5C #1F498F #2A63C1 #4F83D9 #82A7E4

Accessibility & contrast

On white

5.75
#2A63C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2A63C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63C1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63C1#FFFFFF#000000##FFFFFF
##2A63C11.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC4
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a63c1;
/* rgb */ color: rgb(42, 99, 193);
/* oklch */ color: oklch(51.5% 0.159 260.0);
Tailwind
colors: {
  custom: {
    50: '#7a8ed4',
    500: '#2a63c1',
    950: '#000000',
  },
}
SCSS
$custom: #2a63c1;
$custom-light: #7a8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63c1",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 193
  },
  "hsl": {
    "h": 217.351,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.15923,
    "h": 260
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#2A63C1
secondary
#CDAD7A
accent
#A841E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2A63C1

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

Preview Lab → · Contrast checker → · Palette generator →

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