#2A63B7#2A63B7

#2A63B7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.146 H 258.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2A63B7
RGBrgb(42, 99, 183)
HSLhsl(216, 63%, 44%)
HSVhsv(216, 77%, 72%)
CMYKcmyk(77%, 45.9%, 0%, 28.2%)
CIE-LABlab(42.51, 11.61, -49.77)
CIE-LCHlch(42.51, 51.10, 283.13°)
OKLaboklab(50.79% -0.0294 -0.1427)
OKLCHoklch(50.79% 0.146 258.4)
XYZxyz(13.9608, 12.8332, 46.5318)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63B7 #B77E2A
analogous
#2AAAB7 #2A63B7 #382AB7
triadic
#2A63B7 #B72A63 #63B72A
tetradic
#2A63B7 #B72AAA #B77E2A #2AB738
square
#2A63B7 #B72AAA #B77E2A #2AB738
split-complementary
#2A63B7 #B7382A #AAB72A
monochromatic
#132D53 #1F4885 #2A63B7 #4982D5 #7BA4E1

Accessibility & contrast

On white

5.89
#2A63B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2A63B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63B7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63B7#FFFFFF#000000##FFFFFF
##2A63B71.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#165EB5
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a63b7;
/* rgb */ color: rgb(42, 99, 183);
/* oklch */ color: oklch(50.8% 0.146 258.4);
Tailwind
colors: {
  custom: {
    50: '#788ecd',
    500: '#2a63b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a63b7;
$custom-light: #788ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63b7",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 183
  },
  "hsl": {
    "h": 215.745,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50789,
    "c": 0.14574,
    "h": 258.4
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#2A63B7
secondary
#C9A774
accent
#A442E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A63B7

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

Preview Lab → · Contrast checker → · Palette generator →

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