#2F63C7#2F63C7

#2F63C7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.1% C 0.166 H 261.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2F63C7
RGBrgb(47, 99, 199)
HSLhsl(219, 62%, 48%)
HSVhsv(219, 76%, 78%)
CMYKcmyk(76.4%, 50.3%, 0%, 22%)
CIE-LABlab(43.73, 18.29, -57.09)
CIE-LCHlch(43.73, 59.95, 287.76°)
OKLaboklab(52.1% -0.0236 -0.1642)
OKLCHoklch(52.1% 0.166 261.8)
XYZxyz(15.9392, 13.6497, 55.8164)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63C7 #C7932F
analogous
#2FAFC7 #2F63C7 #472FC7
triadic
#2F63C7 #C72F63 #63C72F
tetradic
#2F63C7 #C72FAF #C7932F #2FC747
square
#2F63C7 #C72FAF #C7932F #2FC747
split-complementary
#2F63C7 #C7472F #AFC72F
monochromatic
#183264 #234A95 #2F63C7 #5B86D8 #8CAAE4

Accessibility & contrast

On white

5.63
#2F63C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2F63C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63C7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63C7#FFFFFF#000000##FFFFFF
##2F63C71.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007B8B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f63c7;
/* rgb */ color: rgb(47, 99, 199);
/* oklch */ color: oklch(52.1% 0.166 261.8);
Tailwind
colors: {
  custom: {
    50: '#7d8ed9',
    500: '#2f63c7',
    950: '#000000',
  },
}
SCSS
$custom: #2f63c7;
$custom-light: #7d8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63c7",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 199
  },
  "hsl": {
    "h": 219.474,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.16591,
    "h": 261.8
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#2F63C7
secondary
#CEB584
accent
#AD43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2F63C7

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

Preview Lab → · Contrast checker → · Palette generator →

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