#2F63A4#2F63A4

#2F63A4 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.7% C 0.118 H 255.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2F63A4
RGBrgb(47, 99, 164)
HSLhsl(213, 55%, 41%)
HSVhsv(213, 71%, 64%)
CMYKcmyk(71.3%, 39.6%, 0%, 35.7%)
CIE-LABlab(41.54, 5.10, -40.13)
CIE-LCHlch(41.54, 40.45, 277.24°)
OKLaboklab(49.72% -0.03 -0.1143)
OKLCHoklch(49.72% 0.118 255.3)
XYZxyz(12.3325, 12.2070, 36.8210)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63A4 #A4702F
analogous
#2F9EA4 #2F63A4 #362FA4
triadic
#2F63A4 #A42F63 #63A42F
tetradic
#2F63A4 #A42F9E #A4702F #2FA436
square
#2F63A4 #A42F9E #A4702F #2FA436
split-complementary
#2F63A4 #A4362F #9EA42F
monochromatic
#142A45 #214674 #2F63A4 #4681CA #76A1D8

Accessibility & contrast

On white

6.10
#2F63A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2F63A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63A4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63A4#FFFFFF#000000##FFFFFF
##2F63A41.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4568A7
Deuteranopia (green-blind)
#335DA3
Tritanopia (blue-blind)
#00727B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f63a4;
/* rgb */ color: rgb(47, 99, 164);
/* oklch */ color: oklch(49.7% 0.118 255.3);
Tailwind
colors: {
  custom: {
    50: '#768fbf',
    500: '#2f63a4',
    950: '#000000',
  },
}
SCSS
$custom: #2f63a4;
$custom-light: #768fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63a4",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 164
  },
  "hsl": {
    "h": 213.333,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49718,
    "c": 0.11821,
    "h": 255.3
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#2F63A4
secondary
#C09C6F
accent
#9C49DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F63A4

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

Preview Lab → · Contrast checker → · Palette generator →

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