#2F62C4#2F62C4

#2F62C4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.7% C 0.163 H 261.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2F62C4
RGBrgb(47, 98, 196)
HSLhsl(219, 61%, 48%)
HSVhsv(219, 76%, 77%)
CMYKcmyk(76%, 50%, 0%, 23.1%)
CIE-LABlab(43.25, 17.80, -56.13)
CIE-LCHlch(43.25, 58.88, 287.59°)
OKLaboklab(51.67% -0.0232 -0.1614)
OKLCHoklch(51.67% 0.163 261.8)
XYZxyz(15.5002, 13.3235, 53.9686)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62C4 #C4912F
analogous
#2FADC4 #2F62C4 #462FC4
triadic
#2F62C4 #C42F62 #62C42F
tetradic
#2F62C4 #C42FAD #C4912F #2FC446
square
#2F62C4 #C42FAD #C4912F #2FC446
split-complementary
#2F62C4 #C4462F #ADC42F
monochromatic
#173161 #234993 #2F62C4 #5984D7 #8AA9E3

Accessibility & contrast

On white

5.73
#2F62C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F62C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62C4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62C4#FFFFFF#000000##FFFFFF
##2F62C41.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266DC8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f62c4;
/* rgb */ color: rgb(47, 98, 196);
/* oklch */ color: oklch(51.7% 0.163 261.8);
Tailwind
colors: {
  custom: {
    50: '#7d8ed6',
    500: '#2f62c4',
    950: '#000000',
  },
}
SCSS
$custom: #2f62c4;
$custom-light: #7d8ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62c4",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 196
  },
  "hsl": {
    "h": 219.463,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.16307,
    "h": 261.8
  },
  "luminance": 0.13325
}

Semantic roles & 50–950 ramp

primary
#2F62C4
secondary
#CDB382
accent
#AD43E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F62C4

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

Preview Lab → · Contrast checker → · Palette generator →

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