#2F63B9#2F63B9

#2F63B9 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.147 H 259.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2F63B9
RGBrgb(47, 99, 185)
HSLhsl(217, 59%, 45%)
HSVhsv(217, 75%, 73%)
CMYKcmyk(74.6%, 46.5%, 0%, 27.5%)
CIE-LABlab(42.81, 13.00, -50.45)
CIE-LCHlch(42.81, 52.10, 284.45°)
OKLaboklab(51.11% -0.0257 -0.1447)
OKLCHoklch(51.11% 0.147 259.9)
XYZxyz(14.3879, 13.0292, 47.6461)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63B9 #B9852F
analogous
#2FA8B9 #2F63B9 #402FB9
triadic
#2F63B9 #B92F63 #63B92F
tetradic
#2F63B9 #B92FA8 #B9852F #2FB940
square
#2F63B9 #B92FA8 #B9852F #2FB940
split-complementary
#2F63B9 #B9402F #A8B92F
monochromatic
#162F57 #234988 #2F63B9 #5283D3 #83A6DF

Accessibility & contrast

On white

5.82
#2F63B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2F63B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63B9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63B9#FFFFFF#000000##FFFFFF
##2F63B91.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366CBC
Deuteranopia (green-blind)
#145FB7
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f63b9;
/* rgb */ color: rgb(47, 99, 185);
/* oklch */ color: oklch(51.1% 0.147 259.9);
Tailwind
colors: {
  custom: {
    50: '#7a8ece',
    500: '#2f63b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f63b9;
$custom-light: #7a8ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63b9",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 185
  },
  "hsl": {
    "h": 217.391,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.14694,
    "h": 259.9
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#2F63B9
secondary
#C9AB7B
accent
#A745E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F63B9

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

Preview Lab → · Contrast checker → · Palette generator →

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