#2F63B7#2F63B7

#2F63B7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.144 H 259.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2F63B7
RGBrgb(47, 99, 183)
HSLhsl(217, 59%, 45%)
HSVhsv(217, 74%, 72%)
CMYKcmyk(74.3%, 45.9%, 0%, 28.2%)
CIE-LABlab(42.68, 12.24, -49.48)
CIE-LCHlch(42.68, 50.98, 283.89°)
OKLaboklab(50.97% -0.026 -0.1418)
OKLCHoklch(50.97% 0.144 259.6)
XYZxyz(14.1783, 12.9453, 46.5420)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63B7 #B7832F
analogous
#2FA7B7 #2F63B7 #3F2FB7
triadic
#2F63B7 #B72F63 #63B72F
tetradic
#2F63B7 #B72FA7 #B7832F #2FB73F
square
#2F63B7 #B72FA7 #B7832F #2FB73F
split-complementary
#2F63B7 #B73F2F #A7B72F
monochromatic
#162E56 #224986 #2F63B7 #5182D2 #82A5DF

Accessibility & contrast

On white

5.85
#2F63B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2F63B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63B7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63B7#FFFFFF#000000##FFFFFF
##2F63B71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376BBA
Deuteranopia (green-blind)
#195FB5
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f63b7;
/* rgb */ color: rgb(47, 99, 183);
/* oklch */ color: oklch(51.0% 0.144 259.6);
Tailwind
colors: {
  custom: {
    50: '#7a8ecd',
    500: '#2f63b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f63b7;
$custom-light: #7a8ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63b7",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 183
  },
  "hsl": {
    "h": 217.059,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.14421,
    "h": 259.6
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#2F63B7
secondary
#C8AA7A
accent
#A645E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F63B7

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

Preview Lab → · Contrast checker → · Palette generator →

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