#2F63B3#2F63B3

#2F63B3 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.139 H 258.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2F63B3
RGBrgb(47, 99, 179)
HSLhsl(216, 58%, 44%)
HSVhsv(216, 74%, 70%)
CMYKcmyk(73.7%, 44.7%, 0%, 29.8%)
CIE-LABlab(42.43, 10.73, -47.54)
CIE-LCHlch(42.43, 48.74, 282.72°)
OKLaboklab(50.7% -0.0267 -0.1361)
OKLCHoklch(50.7% 0.139 258.9)
XYZxyz(13.7679, 12.7812, 44.3805)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63B3 #B37F2F
analogous
#2FA5B3 #2F63B3 #3D2FB3
triadic
#2F63B3 #B32F63 #63B32F
tetradic
#2F63B3 #B32FA5 #B37F2F #2FB33D
square
#2F63B3 #B32FA5 #B37F2F #2FB33D
split-complementary
#2F63B3 #B33D2F #A5B32F
monochromatic
#162D52 #224883 #2F63B3 #4F82D1 #7FA4DD

Accessibility & contrast

On white

5.90
#2F63B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F63B3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63B3#FFFFFF#000000##FFFFFF
##2F63B31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB6
Deuteranopia (green-blind)
#215FB1
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f63b3;
/* rgb */ color: rgb(47, 99, 179);
/* oklch */ color: oklch(50.7% 0.139 258.9);
Tailwind
colors: {
  custom: {
    50: '#798eca',
    500: '#2f63b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f63b3;
$custom-light: #798eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63b3",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 179
  },
  "hsl": {
    "h": 216.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50695,
    "c": 0.13873,
    "h": 258.9
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#2F63B3
secondary
#C6A778
accent
#A446E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F63B3

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

Preview Lab → · Contrast checker → · Palette generator →

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