#2F63A6#2F63A6

#2F63A6 is a mid, vivid cyan. Relative luminance 0.123; OKLCH L 49.8% C 0.121 H 255.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2F63A6
RGBrgb(47, 99, 166)
HSLhsl(214, 56%, 42%)
HSVhsv(214, 72%, 65%)
CMYKcmyk(71.7%, 40.4%, 0%, 34.9%)
CIE-LABlab(41.66, 5.84, -41.13)
CIE-LCHlch(41.66, 41.54, 278.09°)
OKLaboklab(49.84% -0.0295 -0.1173)
OKLCHoklch(49.84% 0.121 255.9)
XYZxyz(12.5145, 12.2798, 37.7797)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63A6 #A6722F
analogous
#2F9FA6 #2F63A6 #372FA6
triadic
#2F63A6 #A62F63 #63A62F
tetradic
#2F63A6 #A62F9F #A6722F #2FA637
square
#2F63A6 #A62F9F #A6722F #2FA637
split-complementary
#2F63A6 #A6372F #9FA62F
monochromatic
#142A47 #214776 #2F63A6 #4781CB #77A2D8

Accessibility & contrast

On white

6.08
#2F63A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2F63A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63A6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63A6#FFFFFF#000000##FFFFFF
##2F63A61.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A9
Deuteranopia (green-blind)
#315DA5
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f63a6;
/* rgb */ color: rgb(47, 99, 166);
/* oklch */ color: oklch(49.8% 0.121 255.9);
Tailwind
colors: {
  custom: {
    50: '#768ec1',
    500: '#2f63a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f63a6;
$custom-light: #768ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63a6",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 166
  },
  "hsl": {
    "h": 213.782,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.12094,
    "h": 255.9
  },
  "luminance": 0.12281
}

Semantic roles & 50–950 ramp

primary
#2F63A6
secondary
#C19D70
accent
#9D49DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2F63A6

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

Preview Lab → · Contrast checker → · Palette generator →

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