#2F63B4#2F63B4

#2F63B4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.140 H 259.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2F63B4
RGBrgb(47, 99, 180)
HSLhsl(217, 59%, 45%)
HSVhsv(217, 74%, 71%)
CMYKcmyk(73.9%, 45%, 0%, 29.4%)
CIE-LABlab(42.49, 11.11, -48.03)
CIE-LCHlch(42.49, 49.30, 283.02°)
OKLaboklab(50.76% -0.0266 -0.1376)
OKLCHoklch(50.76% 0.14 259.1)
XYZxyz(13.8694, 12.8218, 44.9151)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63B4 #B4802F
analogous
#2FA6B4 #2F63B4 #3D2FB4
triadic
#2F63B4 #B42F63 #63B42F
tetradic
#2F63B4 #B42FA6 #B4802F #2FB43D
square
#2F63B4 #B42FA6 #B4802F #2FB43D
split-complementary
#2F63B4 #B43D2F #A6B42F
monochromatic
#162E53 #224883 #2F63B4 #4F82D1 #80A4DE

Accessibility & contrast

On white

5.89
#2F63B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2F63B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63B4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63B4#FFFFFF#000000##FFFFFF
##2F63B41.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#1F5FB2
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f63b4;
/* rgb */ color: rgb(47, 99, 180);
/* oklch */ color: oklch(50.8% 0.140 259.1);
Tailwind
colors: {
  custom: {
    50: '#798ecb',
    500: '#2f63b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f63b4;
$custom-light: #798ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63b4",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 180
  },
  "hsl": {
    "h": 216.541,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50763,
    "c": 0.14011,
    "h": 259.1
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#2F63B4
secondary
#C7A878
accent
#A546E2
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F63B4

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

Preview Lab → · Contrast checker → · Palette generator →

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