#2F63B1#2F63B1

#2F63B1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.136 H 258.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2F63B1
RGBrgb(47, 99, 177)
HSLhsl(216, 58%, 44%)
HSVhsv(216, 73%, 69%)
CMYKcmyk(73.4%, 44.1%, 0%, 30.6%)
CIE-LABlab(42.31, 9.98, -46.57)
CIE-LCHlch(42.31, 47.62, 282.09°)
OKLaboklab(50.56% -0.0271 -0.1333)
OKLCHoklch(50.56% 0.136 258.5)
XYZxyz(13.5671, 12.7009, 43.3229)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63B1 #B17D2F
analogous
#2FA4B1 #2F63B1 #3C2FB1
triadic
#2F63B1 #B12F63 #63B12F
tetradic
#2F63B1 #B12FA4 #B17D2F #2FB13C
square
#2F63B1 #B12FA4 #B17D2F #2FB13C
split-complementary
#2F63B1 #B13C2F #A4B12F
monochromatic
#152D50 #224881 #2F63B1 #4D82D0 #7EA4DD

Accessibility & contrast

On white

5.93
#2F63B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2F63B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63B1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63B1#FFFFFF#000000##FFFFFF
##2F63B11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#245EAF
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f63b1;
/* rgb */ color: rgb(47, 99, 177);
/* oklch */ color: oklch(50.6% 0.136 258.5);
Tailwind
colors: {
  custom: {
    50: '#798ec9',
    500: '#2f63b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f63b1;
$custom-light: #798ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63b1",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 177
  },
  "hsl": {
    "h": 216,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50561,
    "c": 0.13601,
    "h": 258.5
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#2F63B1
secondary
#C5A676
accent
#A347E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F63B1

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

Preview Lab → · Contrast checker → · Palette generator →

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