#2B63BA#2B63BA

#2B63BA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.150 H 259.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2B63BA
RGBrgb(43, 99, 186)
HSLhsl(217, 62%, 45%)
HSVhsv(217, 77%, 73%)
CMYKcmyk(76.9%, 46.8%, 0%, 27.1%)
CIE-LABlab(42.73, 12.88, -51.16)
CIE-LCHlch(42.73, 52.75, 284.13°)
OKLaboklab(51.03% -0.0282 -0.1468)
OKLCHoklch(51.03% 0.15 259.1)
XYZxyz(14.3178, 12.9808, 48.1958)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B63BA #BA822B
analogous
#2BABBA #2B63BA #3A2BBA
triadic
#2B63BA #BA2B63 #63BA2B
tetradic
#2B63BA #BA2BAB #BA822B #2BBA3A
square
#2B63BA #BA2BAB #BA822B #2BBA3A
split-complementary
#2B63BA #BA3A2B #ABBA2B
monochromatic
#142E57 #204988 #2B63BA #4C82D6 #7EA5E1

Accessibility & contrast

On white

5.84
#2B63BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2B63BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B63BA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B63BA#FFFFFF#000000##FFFFFF
##2B63BA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b63ba;
/* rgb */ color: rgb(43, 99, 186);
/* oklch */ color: oklch(51.0% 0.150 259.1);
Tailwind
colors: {
  custom: {
    50: '#798ecf',
    500: '#2b63ba',
    950: '#000000',
  },
}
SCSS
$custom: #2b63ba;
$custom-light: #798ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b63ba",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 216.503,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.14951,
    "h": 259.1
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#2B63BA
secondary
#CAA977
accent
#A642E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2B63BA

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

Preview Lab → · Contrast checker → · Palette generator →

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