#2F63AF#2F63AF

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

Color values

HEX#2F63AF
RGBrgb(47, 99, 175)
HSLhsl(216, 58%, 44%)
HSVhsv(216, 73%, 69%)
CMYKcmyk(73.1%, 43.4%, 0%, 31.4%)
CIE-LABlab(42.19, 9.22, -45.59)
CIE-LCHlch(42.19, 46.51, 281.44°)
OKLaboklab(50.43% -0.0275 -0.1304)
OKLCHoklch(50.43% 0.133 258.1)
XYZxyz(13.3692, 12.6217, 42.2808)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63AF #AF7B2F
analogous
#2FA3AF #2F63AF #3B2FAF
triadic
#2F63AF #AF2F63 #63AF2F
tetradic
#2F63AF #AF2FA3 #AF7B2F #2FAF3B
square
#2F63AF #AF2FA3 #AF7B2F #2FAF3B
split-complementary
#2F63AF #AF3B2F #A3AF2F
monochromatic
#152C4F #22487F #2F63AF #4C81CF #7CA3DC

Accessibility & contrast

On white

5.96
#2F63AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F63AF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63AF#FFFFFF#000000##FFFFFF
##2F63AF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#275EAD
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f63af;
/* rgb */ color: rgb(47, 99, 175);
/* oklch */ color: oklch(50.4% 0.133 258.1);
Tailwind
colors: {
  custom: {
    50: '#788ec7',
    500: '#2f63af',
    950: '#000000',
  },
}
SCSS
$custom: #2f63af;
$custom-light: #788ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63af",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 175
  },
  "hsl": {
    "h": 215.625,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50428,
    "c": 0.13326,
    "h": 258.1
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F63AF

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

Preview Lab → · Contrast checker → · Palette generator →

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