#2F63C5#2F63C5

#2F63C5 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.163 H 261.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2F63C5
RGBrgb(47, 99, 197)
HSLhsl(219, 61%, 48%)
HSVhsv(219, 76%, 77%)
CMYKcmyk(76.1%, 49.7%, 0%, 22.7%)
CIE-LABlab(43.59, 17.53, -56.15)
CIE-LCHlch(43.59, 58.82, 287.34°)
OKLaboklab(51.96% -0.0239 -0.1615)
OKLCHoklch(51.96% 0.163 261.6)
XYZxyz(15.7085, 13.5575, 54.6015)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63C5 #C5912F
analogous
#2FAEC5 #2F63C5 #462FC5
triadic
#2F63C5 #C52F63 #63C52F
tetradic
#2F63C5 #C52FAE #C5912F #2FC546
square
#2F63C5 #C52FAE #C5912F #2FC546
split-complementary
#2F63C5 #C5462F #AEC52F
monochromatic
#173162 #234A94 #2F63C5 #5A85D8 #8BAAE3

Accessibility & contrast

On white

5.66
#2F63C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2F63C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63C5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63C5#FFFFFF#000000##FFFFFF
##2F63C51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286EC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f63c5;
/* rgb */ color: rgb(47, 99, 197);
/* oklch */ color: oklch(52.0% 0.163 261.6);
Tailwind
colors: {
  custom: {
    50: '#7d8ed7',
    500: '#2f63c5',
    950: '#000000',
  },
}
SCSS
$custom: #2f63c5;
$custom-light: #7d8ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63c5",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 197
  },
  "hsl": {
    "h": 219.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51958,
    "c": 0.16321,
    "h": 261.6
  },
  "luminance": 0.13559
}

Semantic roles & 50–950 ramp

primary
#2F63C5
secondary
#CDB382
accent
#AD43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F63C5

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

Preview Lab → · Contrast checker → · Palette generator →

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