#2F63B6#2F63B6

#2F63B6 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.143 H 259.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2F63B6
RGBrgb(47, 99, 182)
HSLhsl(217, 59%, 45%)
HSVhsv(217, 74%, 71%)
CMYKcmyk(74.2%, 45.6%, 0%, 28.6%)
CIE-LABlab(42.62, 11.86, -49.00)
CIE-LCHlch(42.62, 50.42, 283.61°)
OKLaboklab(50.9% -0.0262 -0.1404)
OKLCHoklch(50.9% 0.143 259.4)
XYZxyz(14.0746, 12.9039, 45.9958)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63B6 #B6822F
analogous
#2FA6B6 #2F63B6 #3F2FB6
triadic
#2F63B6 #B62F63 #63B62F
tetradic
#2F63B6 #B62FA6 #B6822F #2FB63F
square
#2F63B6 #B62FA6 #B6822F #2FB63F
split-complementary
#2F63B6 #B63F2F #A6B62F
monochromatic
#162E55 #224985 #2F63B6 #5082D2 #81A5DE

Accessibility & contrast

On white

5.86
#2F63B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2F63B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63B6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63B6#FFFFFF#000000##FFFFFF
##2F63B61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386BB9
Deuteranopia (green-blind)
#1B5FB4
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f63b6;
/* rgb */ color: rgb(47, 99, 182);
/* oklch */ color: oklch(50.9% 0.143 259.4);
Tailwind
colors: {
  custom: {
    50: '#7a8ecc',
    500: '#2f63b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f63b6;
$custom-light: #7a8ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63b6",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 182
  },
  "hsl": {
    "h": 216.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50899,
    "c": 0.14284,
    "h": 259.4
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#2F63B6
secondary
#C7A979
accent
#A646E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F63B6

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

Preview Lab → · Contrast checker → · Palette generator →

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