#2F63AB#2F63AB

#2F63AB is a mid, vivid cyan. Relative luminance 0.125; OKLCH L 50.2% C 0.128 H 257.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2F63AB
RGBrgb(47, 99, 171)
HSLhsl(215, 57%, 43%)
HSVhsv(215, 73%, 67%)
CMYKcmyk(72.5%, 42.1%, 0%, 32.9%)
CIE-LABlab(41.95, 7.72, -43.62)
CIE-LCHlch(41.95, 44.29, 280.03°)
OKLaboklab(50.17% -0.0284 -0.1246)
OKLCHoklch(50.17% 0.128 257.2)
XYZxyz(12.9821, 12.4669, 40.2423)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F63AB #AB772F
analogous
#2FA1AB #2F63AB #392FAB
triadic
#2F63AB #AB2F63 #63AB2F
tetradic
#2F63AB #AB2FA1 #AB772F #2FAB39
square
#2F63AB #AB2FA1 #AB772F #2FAB39
split-complementary
#2F63AB #AB392F #A1AB2F
monochromatic
#152B4B #22477B #2F63AB #4A81CD #7AA2DA

Accessibility & contrast

On white

6.01
#2F63AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2F63AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F63AB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F63AB#FFFFFF#000000##FFFFFF
##2F63AB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4169AE
Deuteranopia (green-blind)
#2C5EAA
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f63ab;
/* rgb */ color: rgb(47, 99, 171);
/* oklch */ color: oklch(50.2% 0.128 257.2);
Tailwind
colors: {
  custom: {
    50: '#778ec4',
    500: '#2f63ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f63ab;
$custom-light: #778ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f63ab",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 171
  },
  "hsl": {
    "h": 214.839,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.12778,
    "h": 257.2
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#2F63AB
secondary
#C3A173
accent
#A048E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F63AB

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

Preview Lab → · Contrast checker → · Palette generator →

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