#2F62C0#2F62C0

#2F62C0 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.4% C 0.158 H 261.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2F62C0
RGBrgb(47, 98, 192)
HSLhsl(219, 61%, 47%)
HSVhsv(219, 76%, 75%)
CMYKcmyk(75.5%, 49%, 0%, 24.7%)
CIE-LABlab(42.98, 16.29, -54.24)
CIE-LCHlch(42.98, 56.64, 286.71°)
OKLaboklab(51.38% -0.0237 -0.1559)
OKLCHoklch(51.38% 0.158 261.3)
XYZxyz(15.0510, 13.1438, 51.6027)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62C0 #C08D2F
analogous
#2FAAC0 #2F62C0 #452FC0
triadic
#2F62C0 #C02F62 #62C02F
tetradic
#2F62C0 #C02FAA #C08D2F #2FC045
square
#2F62C0 #C02FAA #C08D2F #2FC045
split-complementary
#2F62C0 #C0452F #AAC02F
monochromatic
#17305E #23498F #2F62C0 #5683D6 #88A7E2

Accessibility & contrast

On white

5.79
#2F62C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2F62C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62C0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62C0#FFFFFF#000000##FFFFFF
##2F62C01.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC3
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f62c0;
/* rgb */ color: rgb(47, 98, 192);
/* oklch */ color: oklch(51.4% 0.158 261.3);
Tailwind
colors: {
  custom: {
    50: '#7c8ed4',
    500: '#2f62c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f62c0;
$custom-light: #7c8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62c0",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 192
  },
  "hsl": {
    "h": 218.897,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.15766,
    "h": 261.3
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#2F62C0
secondary
#CBB17F
accent
#AC44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F62C0

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

Preview Lab → · Contrast checker → · Palette generator →

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