#2F63B2#2F63B2

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

Color values

HEX#2F63B2
RGBrgb(47, 99, 178)
HSLhsl(216, 58%, 44%)
HSVhsv(216, 74%, 70%)
CMYKcmyk(73.6%, 44.4%, 0%, 30.2%)
CIE-LABlab(42.37, 10.35, -47.06)
CIE-LCHlch(42.37, 48.18, 282.41°)
OKLaboklab(50.63% -0.0269 -0.1347)
OKLCHoklch(50.63% 0.137 258.7)
XYZxyz(13.6671, 12.7409, 43.8498)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63B2 #B27E2F
analogous
#2FA5B2 #2F63B2 #3D2FB2
triadic
#2F63B2 #B22F63 #63B22F
tetradic
#2F63B2 #B22FA5 #B27E2F #2FB23D
square
#2F63B2 #B22FA5 #B27E2F #2FB23D
split-complementary
#2F63B2 #B23D2F #A5B22F
monochromatic
#152D51 #224882 #2F63B2 #4E82D0 #7EA4DD

Accessibility & contrast

On white

5.92
#2F63B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2F63B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63B2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63B2#FFFFFF#000000##FFFFFF
##2F63B21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#225EB0
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f63b2;
/* rgb */ color: rgb(47, 99, 178);
/* oklch */ color: oklch(50.6% 0.137 258.7);
Tailwind
colors: {
  custom: {
    50: '#798ec9',
    500: '#2f63b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f63b2;
$custom-light: #798ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63b2",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 216.183,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50628,
    "c": 0.13737,
    "h": 258.7
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#2F63B2
secondary
#C6A777
accent
#A446E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F63B2

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

Preview Lab → · Contrast checker → · Palette generator →

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