#2F63D2#2F63D2

#2F63D2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.9% C 0.181 H 262.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2F63D2
RGBrgb(47, 99, 210)
HSLhsl(221, 64%, 50%)
HSVhsv(221, 78%, 82%)
CMYKcmyk(77.6%, 52.9%, 0%, 17.6%)
CIE-LABlab(44.49, 22.43, -62.18)
CIE-LCHlch(44.49, 66.10, 289.84°)
OKLaboklab(52.93% -0.0224 -0.1792)
OKLCHoklch(52.93% 0.181 262.9)
XYZxyz(17.2628, 14.1792, 62.7873)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63D2 #D29E2F
analogous
#2FB4D2 #2F63D2 #4C2FD2
triadic
#2F63D2 #D22F63 #63D22F
tetradic
#2F63D2 #D22FB4 #D29E2F #2FD24C
square
#2F63D2 #D22FB4 #D29E2F #2FD24C
split-complementary
#2F63D2 #D24C2F #B4D22F
monochromatic
#18346F #234BA1 #2F63D2 #6189DD #94AEE8

Accessibility & contrast

On white

5.47
#2F63D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2F63D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63D2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63D2#FFFFFF#000000##FFFFFF
##2F63D21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C71D6
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f63d2;
/* rgb */ color: rgb(47, 99, 210);
/* oklch */ color: oklch(52.9% 0.181 262.9);
Tailwind
colors: {
  custom: {
    50: '#808ee1',
    500: '#2f63d2',
    950: '#000000',
  },
}
SCSS
$custom: #2f63d2;
$custom-light: #808ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63d2",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 210
  },
  "hsl": {
    "h": 220.859,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52927,
    "c": 0.18058,
    "h": 262.9
  },
  "luminance": 0.14181
}

Semantic roles & 50–950 ramp

primary
#2F63D2
secondary
#D3BC8A
accent
#B240E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F63D2

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

Preview Lab → · Contrast checker → · Palette generator →

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