#2A63B9#2A63B9

#2A63B9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.148 H 258.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2A63B9
RGBrgb(42, 99, 185)
HSLhsl(216, 63%, 45%)
HSVhsv(216, 77%, 73%)
CMYKcmyk(77.3%, 46.5%, 0%, 27.5%)
CIE-LABlab(42.64, 12.38, -50.73)
CIE-LCHlch(42.64, 52.22, 283.71°)
OKLaboklab(50.93% -0.029 -0.1456)
OKLCHoklch(50.93% 0.148 258.7)
XYZxyz(14.1704, 12.9171, 47.6359)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63B9 #B9802A
analogous
#2AABB9 #2A63B9 #392AB9
triadic
#2A63B9 #B92A63 #63B92A
tetradic
#2A63B9 #B92AAB #B9802A #2AB939
square
#2A63B9 #B92AAB #B9802A #2AB939
split-complementary
#2A63B9 #B9392A #ABB92A
monochromatic
#132E55 #1F4887 #2A63B9 #4A82D6 #7CA4E1

Accessibility & contrast

On white

5.86
#2A63B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2A63B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A63B9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63B9#FFFFFF#000000##FFFFFF
##2A63B91.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBC
Deuteranopia (green-blind)
#105FB7
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a63b9;
/* rgb */ color: rgb(42, 99, 185);
/* oklch */ color: oklch(50.9% 0.148 258.7);
Tailwind
colors: {
  custom: {
    50: '#798ece',
    500: '#2a63b9',
    950: '#000000',
  },
}
SCSS
$custom: #2a63b9;
$custom-light: #798ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63b9",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 185
  },
  "hsl": {
    "h": 216.084,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.14844,
    "h": 258.7
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#2A63B9
secondary
#CAA875
accent
#A542E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2A63B9

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

Preview Lab → · Contrast checker → · Palette generator →

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