#2A63B8#2A63B8

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

Color values

HEX#2A63B8
RGBrgb(42, 99, 184)
HSLhsl(216, 63%, 44%)
HSVhsv(216, 77%, 72%)
CMYKcmyk(77.2%, 46.2%, 0%, 27.8%)
CIE-LABlab(42.57, 11.99, -50.25)
CIE-LCHlch(42.57, 51.66, 283.42°)
OKLaboklab(50.86% -0.0292 -0.1442)
OKLCHoklch(50.86% 0.147 258.5)
XYZxyz(14.0653, 12.8750, 47.0819)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A63B8 #B87F2A
analogous
#2AAAB8 #2A63B8 #382AB8
triadic
#2A63B8 #B82A63 #63B82A
tetradic
#2A63B8 #B82AAA #B87F2A #2AB838
square
#2A63B8 #B82AAA #B87F2A #2AB838
split-complementary
#2A63B8 #B8382A #AAB82A
monochromatic
#132D54 #1F4886 #2A63B8 #4A82D6 #7BA4E1

Accessibility & contrast

On white

5.87
#2A63B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A63B8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A63B8#FFFFFF#000000##FFFFFF
##2A63B81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366BBB
Deuteranopia (green-blind)
#135EB6
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a63b8;
/* rgb */ color: rgb(42, 99, 184);
/* oklch */ color: oklch(50.9% 0.147 258.5);
Tailwind
colors: {
  custom: {
    50: '#788ece',
    500: '#2a63b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a63b8;
$custom-light: #788ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2a63b8",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 184
  },
  "hsl": {
    "h": 215.915,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.14709,
    "h": 258.5
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#2A63B8
secondary
#C9A775
accent
#A442E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2A63B8

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

Preview Lab → · Contrast checker → · Palette generator →

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