#2F63B5#2F63B5

#2F63B5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.8% C 0.141 H 259.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2F63B5
RGBrgb(47, 99, 181)
HSLhsl(217, 59%, 45%)
HSVhsv(217, 74%, 71%)
CMYKcmyk(74%, 45.3%, 0%, 29%)
CIE-LABlab(42.56, 11.48, -48.52)
CIE-LCHlch(42.56, 49.86, 283.32°)
OKLaboklab(50.83% -0.0264 -0.139)
OKLCHoklch(50.83% 0.141 259.3)
XYZxyz(13.9716, 12.8627, 45.4535)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63B5 #B5812F
analogous
#2FA6B5 #2F63B5 #3E2FB5
triadic
#2F63B5 #B52F63 #63B52F
tetradic
#2F63B5 #B52FA6 #B5812F #2FB53E
square
#2F63B5 #B52FA6 #B5812F #2FB53E
split-complementary
#2F63B5 #B53E2F #A6B52F
monochromatic
#162E54 #224884 #2F63B5 #5082D1 #80A5DE

Accessibility & contrast

On white

5.88
#2F63B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2F63B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63B5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63B5#FFFFFF#000000##FFFFFF
##2F63B51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#1D5FB3
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f63b5;
/* rgb */ color: rgb(47, 99, 181);
/* oklch */ color: oklch(50.8% 0.141 259.3);
Tailwind
colors: {
  custom: {
    50: '#798ecc',
    500: '#2f63b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f63b5;
$custom-light: #798ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63b5",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 181
  },
  "hsl": {
    "h": 216.716,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50831,
    "c": 0.14147,
    "h": 259.3
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#2F63B5
secondary
#C7A979
accent
#A546E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F63B5

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

Preview Lab → · Contrast checker → · Palette generator →

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