#2A63B3#2A63B3

#2A63B3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.5% C 0.140 H 257.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2A63B3
RGBrgb(42, 99, 179)
HSLhsl(215, 62%, 43%)
HSVhsv(215, 77%, 70%)
CMYKcmyk(76.5%, 44.7%, 0%, 29.8%)
CIE-LABlab(42.26, 10.08, -47.83)
CIE-LCHlch(42.26, 48.88, 281.90°)
OKLaboklab(50.52% -0.0301 -0.137)
OKLCHoklch(50.52% 0.14 257.6)
XYZxyz(13.5504, 12.6690, 44.3703)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63B3 #B37A2A
analogous
#2AA7B3 #2A63B3 #352AB3
triadic
#2A63B3 #B32A63 #63B32A
tetradic
#2A63B3 #B32AA7 #B37A2A #2AB335
square
#2A63B3 #B32AA7 #B37A2A #2AB335
split-complementary
#2A63B3 #B3352A #A7B32A
monochromatic
#132C50 #1E4881 #2A63B3 #4681D4 #78A3DF

Accessibility & contrast

On white

5.94
#2A63B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2A63B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63B3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63B3#FFFFFF#000000##FFFFFF
##2A63B31.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB6
Deuteranopia (green-blind)
#1E5EB1
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a63b3;
/* rgb */ color: rgb(42, 99, 179);
/* oklch */ color: oklch(50.5% 0.140 257.6);
Tailwind
colors: {
  custom: {
    50: '#778eca',
    500: '#2a63b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a63b3;
$custom-light: #778eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63b3",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 179
  },
  "hsl": {
    "h": 215.036,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.14032,
    "h": 257.6
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#2A63B3
secondary
#C7A472
accent
#A243E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A63B3

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

Preview Lab → · Contrast checker → · Palette generator →

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