#2B63B8#2B63B8

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

Color values

HEX#2B63B8
RGBrgb(43, 99, 184)
HSLhsl(216, 62%, 45%)
HSVhsv(216, 77%, 72%)
CMYKcmyk(76.6%, 46.2%, 0%, 27.8%)
CIE-LABlab(42.61, 12.11, -50.19)
CIE-LCHlch(42.61, 51.64, 283.57°)
OKLaboklab(50.89% -0.0286 -0.144)
OKLCHoklch(50.89% 0.147 258.8)
XYZxyz(14.1067, 12.8963, 47.0839)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B63B8 #B8802B
analogous
#2BAAB8 #2B63B8 #392BB8
triadic
#2B63B8 #B82B63 #63B82B
tetradic
#2B63B8 #B82BAA #B8802B #2BB839
square
#2B63B8 #B82BAA #B8802B #2BB839
split-complementary
#2B63B8 #B8392B #AAB82B
monochromatic
#142E55 #1F4886 #2B63B8 #4B82D5 #7DA4E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B63B8#FFFFFF#000000##FFFFFF
##2B63B81.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)
#145FB6
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b63b8;
/* rgb */ color: rgb(43, 99, 184);
/* oklch */ color: oklch(50.9% 0.147 258.8);
Tailwind
colors: {
  custom: {
    50: '#798ece',
    500: '#2b63b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b63b8;
$custom-light: #798ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2b63b8",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 184
  },
  "hsl": {
    "h": 216.17,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.1468,
    "h": 258.8
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#2B63B8
secondary
#C9A876
accent
#A543E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2B63B8

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

Preview Lab → · Contrast checker → · Palette generator →

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