#2F63BC#2F63BC

#2F63BC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.3% C 0.151 H 260.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2F63BC
RGBrgb(47, 99, 188)
HSLhsl(218, 60%, 46%)
HSVhsv(218, 75%, 74%)
CMYKcmyk(75%, 47.3%, 0%, 26.3%)
CIE-LABlab(43.00, 14.13, -51.89)
CIE-LCHlch(43.00, 53.78, 285.23°)
OKLaboklab(51.32% -0.0252 -0.1489)
OKLCHoklch(51.32% 0.151 260.4)
XYZxyz(14.7079, 13.1572, 49.3316)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63BC #BC882F
analogous
#2FA9BC #2F63BC #412FBC
triadic
#2F63BC #BC2F63 #63BC2F
tetradic
#2F63BC #BC2FA9 #BC882F #2FBC41
square
#2F63BC #BC2FA9 #BC882F #2FBC41
split-complementary
#2F63BC #BC412F #A9BC2F
monochromatic
#172F5A #23498B #2F63BC #5483D4 #85A7E0

Accessibility & contrast

On white

5.78
#2F63BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2F63BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63BC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63BC#FFFFFF#000000##FFFFFF
##2F63BC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBF
Deuteranopia (green-blind)
#0A60BA
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f63bc;
/* rgb */ color: rgb(47, 99, 188);
/* oklch */ color: oklch(51.3% 0.151 260.4);
Tailwind
colors: {
  custom: {
    50: '#7b8ed1',
    500: '#2f63bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f63bc;
$custom-light: #7b8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63bc",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 188
  },
  "hsl": {
    "h": 217.872,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.15102,
    "h": 260.4
  },
  "luminance": 0.13159
}

Semantic roles & 50–950 ramp

primary
#2F63BC
secondary
#CAAD7D
accent
#A945E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F63BC

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

Preview Lab → · Contrast checker → · Palette generator →

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