#2F63B0#2F63B0

#2F63B0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.5% C 0.135 H 258.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2F63B0
RGBrgb(47, 99, 176)
HSLhsl(216, 58%, 44%)
HSVhsv(216, 73%, 69%)
CMYKcmyk(73.3%, 43.8%, 0%, 31%)
CIE-LABlab(42.25, 9.60, -46.08)
CIE-LCHlch(42.25, 47.07, 281.77°)
OKLaboklab(50.49% -0.0273 -0.1318)
OKLCHoklch(50.49% 0.135 258.3)
XYZxyz(13.4678, 12.6611, 42.7999)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63B0 #B07C2F
analogous
#2FA3B0 #2F63B0 #3B2FB0
triadic
#2F63B0 #B02F63 #63B02F
tetradic
#2F63B0 #B02FA3 #B07C2F #2FB03B
square
#2F63B0 #B02FA3 #B07C2F #2FB03B
split-complementary
#2F63B0 #B03B2F #A3B02F
monochromatic
#152D4F #224880 #2F63B0 #4D81CF #7DA3DC

Accessibility & contrast

On white

5.94
#2F63B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2F63B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63B0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63B0#FFFFFF#000000##FFFFFF
##2F63B01.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB3
Deuteranopia (green-blind)
#255EAE
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f63b0;
/* rgb */ color: rgb(47, 99, 176);
/* oklch */ color: oklch(50.5% 0.135 258.3);
Tailwind
colors: {
  custom: {
    50: '#788ec8',
    500: '#2f63b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f63b0;
$custom-light: #788ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63b0",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 176
  },
  "hsl": {
    "h": 215.814,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.13463,
    "h": 258.3
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F63B0

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

Preview Lab → · Contrast checker → · Palette generator →

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