#2F63C4#2F63C4

#2F63C4 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.9% C 0.162 H 261.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F63C4
RGBrgb(47, 99, 196)
HSLhsl(219, 61%, 48%)
HSVhsv(219, 76%, 77%)
CMYKcmyk(76%, 49.5%, 0%, 23.1%)
CIE-LABlab(43.52, 17.15, -55.68)
CIE-LCHlch(43.52, 58.26, 287.12°)
OKLaboklab(51.89% -0.024 -0.1601)
OKLCHoklch(51.89% 0.162 261.5)
XYZxyz(15.5943, 13.5118, 54.0000)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63C4 #C4902F
analogous
#2FAEC4 #2F63C4 #452FC4
triadic
#2F63C4 #C42F63 #63C42F
tetradic
#2F63C4 #C42FAE #C4902F #2FC445
square
#2F63C4 #C42FAE #C4902F #2FC445
split-complementary
#2F63C4 #C4452F #AEC42F
monochromatic
#173161 #234A93 #2F63C4 #5985D7 #8AA9E3

Accessibility & contrast

On white

5.67
#2F63C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F63C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63C4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63C4#FFFFFF#000000##FFFFFF
##2F63C41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f63c4;
/* rgb */ color: rgb(47, 99, 196);
/* oklch */ color: oklch(51.9% 0.162 261.5);
Tailwind
colors: {
  custom: {
    50: '#7d8ed6',
    500: '#2f63c4',
    950: '#000000',
  },
}
SCSS
$custom: #2f63c4;
$custom-light: #7d8ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63c4",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 196
  },
  "hsl": {
    "h": 219.06,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.16187,
    "h": 261.5
  },
  "luminance": 0.13514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F63C4

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

Preview Lab → · Contrast checker → · Palette generator →

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