#2F63AE#2F63AE

#2F63AE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.4% C 0.132 H 257.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2F63AE
RGBrgb(47, 99, 174)
HSLhsl(215, 57%, 43%)
HSVhsv(215, 73%, 68%)
CMYKcmyk(73%, 43.1%, 0%, 31.8%)
CIE-LABlab(42.13, 8.85, -45.10)
CIE-LCHlch(42.13, 45.96, 281.10°)
OKLaboklab(50.36% -0.0277 -0.1289)
OKLCHoklch(50.36% 0.132 257.9)
XYZxyz(13.2713, 12.5826, 41.7654)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63AE #AE7A2F
analogous
#2FA2AE #2F63AE #3A2FAE
triadic
#2F63AE #AE2F63 #63AE2F
tetradic
#2F63AE #AE2FA2 #AE7A2F #2FAE3A
square
#2F63AE #AE2FA2 #AE7A2F #2FAE3A
split-complementary
#2F63AE #AE3A2F #A2AE2F
monochromatic
#152C4E #22487E #2F63AE #4C81CF #7CA3DC

Accessibility & contrast

On white

5.97
#2F63AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2F63AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63AE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63AE#FFFFFF#000000##FFFFFF
##2F63AE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB1
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f63ae;
/* rgb */ color: rgb(47, 99, 174);
/* oklch */ color: oklch(50.4% 0.132 257.9);
Tailwind
colors: {
  custom: {
    50: '#788ec6',
    500: '#2f63ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f63ae;
$custom-light: #788ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63ae",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 174
  },
  "hsl": {
    "h": 215.433,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.13189,
    "h": 257.9
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#2F63AE
secondary
#C4A475
accent
#A247E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F63AE

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

Preview Lab → · Contrast checker → · Palette generator →

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