#2F63BA#2F63BA

#2F63BA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.2% C 0.148 H 260.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2F63BA
RGBrgb(47, 99, 186)
HSLhsl(218, 60%, 46%)
HSVhsv(218, 75%, 73%)
CMYKcmyk(74.7%, 46.8%, 0%, 27.1%)
CIE-LABlab(42.87, 13.37, -50.93)
CIE-LCHlch(42.87, 52.66, 284.71°)
OKLaboklab(51.18% -0.0255 -0.1461)
OKLCHoklch(51.18% 0.148 260.1)
XYZxyz(14.4938, 13.0716, 48.2041)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63BA #BA862F
analogous
#2FA8BA #2F63BA #402FBA
triadic
#2F63BA #BA2F63 #63BA2F
tetradic
#2F63BA #BA2FA8 #BA862F #2FBA40
square
#2F63BA #BA2FA8 #BA862F #2FBA40
split-complementary
#2F63BA #BA402F #A8BA2F
monochromatic
#162F58 #234989 #2F63BA #5383D3 #84A6E0

Accessibility & contrast

On white

5.81
#2F63BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F63BA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63BA#FFFFFF#000000##FFFFFF
##2F63BA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356CBD
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f63ba;
/* rgb */ color: rgb(47, 99, 186);
/* oklch */ color: oklch(51.2% 0.148 260.1);
Tailwind
colors: {
  custom: {
    50: '#7a8ecf',
    500: '#2f63ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f63ba;
$custom-light: #7a8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63ba",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 217.554,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51175,
    "c": 0.1483,
    "h": 260.1
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#2F63BA
secondary
#C9AC7C
accent
#A845E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F63BA

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

Preview Lab → · Contrast checker → · Palette generator →

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