#2F63BB#2F63BB

#2F63BB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.2% C 0.150 H 260.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2F63BB
RGBrgb(47, 99, 187)
HSLhsl(218, 60%, 46%)
HSVhsv(218, 75%, 73%)
CMYKcmyk(74.9%, 47.1%, 0%, 26.7%)
CIE-LABlab(42.93, 13.75, -51.41)
CIE-LCHlch(42.93, 53.22, 284.98°)
OKLaboklab(51.25% -0.0253 -0.1475)
OKLCHoklch(51.25% 0.15 260.2)
XYZxyz(14.6005, 13.1142, 48.7659)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63BB #BB872F
analogous
#2FA9BB #2F63BB #412FBB
triadic
#2F63BB #BB2F63 #63BB2F
tetradic
#2F63BB #BB2FA9 #BB872F #2FBB41
square
#2F63BB #BB2FA9 #BB872F #2FBB41
split-complementary
#2F63BB #BB412F #A9BB2F
monochromatic
#162F59 #23498A #2F63BB #5383D4 #84A6E0

Accessibility & contrast

On white

5.80
#2F63BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2F63BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63BB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63BB#FFFFFF#000000##FFFFFF
##2F63BB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#0E5FB9
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f63bb;
/* rgb */ color: rgb(47, 99, 187);
/* oklch */ color: oklch(51.2% 0.150 260.2);
Tailwind
colors: {
  custom: {
    50: '#7b8ed0',
    500: '#2f63bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f63bb;
$custom-light: #7b8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63bb",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 217.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51245,
    "c": 0.14966,
    "h": 260.2
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#2F63BB
secondary
#C9AD7C
accent
#A845E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F63BB

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

Preview Lab → · Contrast checker → · Palette generator →

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