#2A63B5#2A63B5

#2A63B5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.143 H 258.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2A63B5
RGBrgb(42, 99, 181)
HSLhsl(215, 62%, 44%)
HSVhsv(215, 77%, 71%)
CMYKcmyk(76.8%, 45.3%, 0%, 29%)
CIE-LABlab(42.38, 10.84, -48.80)
CIE-LCHlch(42.38, 49.99, 282.53°)
OKLaboklab(50.65% -0.0298 -0.1399)
OKLCHoklch(50.65% 0.143 258)
XYZxyz(13.7541, 12.7505, 45.4433)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63B5 #B57C2A
analogous
#2AA8B5 #2A63B5 #362AB5
triadic
#2A63B5 #B52A63 #63B52A
tetradic
#2A63B5 #B52AA8 #B57C2A #2AB536
square
#2A63B5 #B52AA8 #B57C2A #2AB536
split-complementary
#2A63B5 #B5362A #A8B52A
monochromatic
#132D52 #1E4883 #2A63B5 #4881D4 #79A3E0

Accessibility & contrast

On white

5.91
#2A63B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2A63B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63B5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63B5#FFFFFF#000000##FFFFFF
##2A63B51.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386BB8
Deuteranopia (green-blind)
#1A5EB3
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a63b5;
/* rgb */ color: rgb(42, 99, 181);
/* oklch */ color: oklch(50.7% 0.143 258.0);
Tailwind
colors: {
  custom: {
    50: '#788ecc',
    500: '#2a63b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a63b5;
$custom-light: #788ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63b5",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 181
  },
  "hsl": {
    "h": 215.396,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50651,
    "c": 0.14303,
    "h": 258
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

primary
#2A63B5
secondary
#C8A573
accent
#A342E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A63B5

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

Preview Lab → · Contrast checker → · Palette generator →

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