#2F63D8#2F63D8

#2F63D8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.188 H 263.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2F63D8
RGBrgb(47, 99, 216)
HSLhsl(222, 68%, 52%)
HSVhsv(222, 78%, 85%)
CMYKcmyk(78.2%, 54.2%, 0%, 15.3%)
CIE-LABlab(44.92, 24.68, -64.91)
CIE-LCHlch(44.92, 69.44, 290.82°)
OKLaboklab(53.39% -0.0218 -0.1872)
OKLCHoklch(53.39% 0.188 263.3)
XYZxyz(18.0244, 14.4838, 66.7981)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63D8 #D8A42F
analogous
#2FB8D8 #2F63D8 #502FD8
triadic
#2F63D8 #D82F63 #63D82F
tetradic
#2F63D8 #D82FB8 #D8A42F #2FD850
square
#2F63D8 #D82FB8 #D8A42F #2FD850
split-complementary
#2F63D8 #D8502F #B8D82F
monochromatic
#163476 #204AAA #2F63D8 #638AE2 #96B0EB

Accessibility & contrast

On white

5.39
#2F63D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2F63D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63D8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63D8#FFFFFF#000000##FFFFFF
##2F63D81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f63d8;
/* rgb */ color: rgb(47, 99, 216);
/* oklch */ color: oklch(53.4% 0.188 263.3);
Tailwind
colors: {
  custom: {
    50: '#818ee5',
    500: '#2f63d8',
    950: '#000000',
  },
}
SCSS
$custom: #2f63d8;
$custom-light: #818ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63d8",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 216
  },
  "hsl": {
    "h": 221.538,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.18849,
    "h": 263.3
  },
  "luminance": 0.14486
}

Semantic roles & 50–950 ramp

primary
#2F63D8
secondary
#D7C08C
accent
#B63DEB
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2F63D8

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

Preview Lab → · Contrast checker → · Palette generator →

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