#2F62C5#2F62C5

#2F62C5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.7% C 0.164 H 261.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2F62C5
RGBrgb(47, 98, 197)
HSLhsl(220, 61%, 48%)
HSVhsv(220, 76%, 77%)
CMYKcmyk(76.1%, 50.3%, 0%, 22.7%)
CIE-LABlab(43.31, 18.18, -56.60)
CIE-LCHlch(43.31, 59.45, 287.80°)
OKLaboklab(51.75% -0.0231 -0.1628)
OKLCHoklch(51.75% 0.164 261.9)
XYZxyz(15.6144, 13.3691, 54.5701)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62C5 #C5922F
analogous
#2FADC5 #2F62C5 #472FC5
triadic
#2F62C5 #C52F62 #62C52F
tetradic
#2F62C5 #C52FAD #C5922F #2FC547
square
#2F62C5 #C52FAD #C5922F #2FC547
split-complementary
#2F62C5 #C5472F #ADC52F
monochromatic
#173162 #234994 #2F62C5 #5A84D8 #8BA9E3

Accessibility & contrast

On white

5.72
#2F62C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F62C5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62C5#FFFFFF#000000##FFFFFF
##2F62C51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256EC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#007A8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f62c5;
/* rgb */ color: rgb(47, 98, 197);
/* oklch */ color: oklch(51.7% 0.164 261.9);
Tailwind
colors: {
  custom: {
    50: '#7d8ed7',
    500: '#2f62c5',
    950: '#000000',
  },
}
SCSS
$custom: #2f62c5;
$custom-light: #7d8ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62c5",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 197
  },
  "hsl": {
    "h": 219.6,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51747,
    "c": 0.16442,
    "h": 261.9
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#2F62C5
secondary
#CDB482
accent
#AE43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F62C5

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

Preview Lab → · Contrast checker → · Palette generator →

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