#2F63B8#2F63B8

#2F63B8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.146 H 259.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2F63B8
RGBrgb(47, 99, 184)
HSLhsl(217, 59%, 45%)
HSVhsv(217, 74%, 72%)
CMYKcmyk(74.5%, 46.2%, 0%, 27.8%)
CIE-LABlab(42.74, 12.62, -49.97)
CIE-LCHlch(42.74, 51.54, 284.17°)
OKLaboklab(51.04% -0.0258 -0.1433)
OKLCHoklch(51.04% 0.146 259.8)
XYZxyz(14.2827, 12.9871, 47.0921)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63B8 #B8842F
analogous
#2FA7B8 #2F63B8 #3F2FB8
triadic
#2F63B8 #B82F63 #63B82F
tetradic
#2F63B8 #B82FA7 #B8842F #2FB83F
square
#2F63B8 #B82FA7 #B8842F #2FB83F
split-complementary
#2F63B8 #B83F2F #A7B82F
monochromatic
#162F57 #234987 #2F63B8 #5283D3 #82A6DF

Accessibility & contrast

On white

5.84
#2F63B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2F63B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63B8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63B8#FFFFFF#000000##FFFFFF
##2F63B81.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366CBB
Deuteranopia (green-blind)
#175FB6
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f63b8;
/* rgb */ color: rgb(47, 99, 184);
/* oklch */ color: oklch(51.0% 0.146 259.8);
Tailwind
colors: {
  custom: {
    50: '#7a8ece',
    500: '#2f63b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f63b8;
$custom-light: #7a8ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63b8",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 184
  },
  "hsl": {
    "h": 217.226,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.14557,
    "h": 259.8
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#2F63B8
secondary
#C8AB7B
accent
#A745E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F63B8

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

Preview Lab → · Contrast checker → · Palette generator →

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