#2F62D8#2F62D8

#2F62D8 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.190 H 263.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2F62D8
RGBrgb(47, 98, 216)
HSLhsl(222, 68%, 52%)
HSVhsv(222, 78%, 85%)
CMYKcmyk(78.2%, 54.6%, 0%, 15.3%)
CIE-LABlab(44.65, 25.32, -65.34)
CIE-LCHlch(44.65, 70.07, 291.18°)
OKLaboklab(53.19% -0.0212 -0.1885)
OKLCHoklch(53.19% 0.19 263.6)
XYZxyz(17.9302, 14.2955, 66.7667)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62D8 #D8A52F
analogous
#2FB7D8 #2F62D8 #502FD8
triadic
#2F62D8 #D82F62 #62D82F
tetradic
#2F62D8 #D82FB7 #D8A52F #2FD850
square
#2F62D8 #D82FB7 #D8A52F #2FD850
split-complementary
#2F62D8 #D8502F #B7D82F
monochromatic
#163376 #204AAA #2F62D8 #6389E2 #96B0EB

Accessibility & contrast

On white

5.44
#2F62D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2F62D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62D8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62D8#FFFFFF#000000##FFFFFF
##2F62D81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#007F93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f62d8;
/* rgb */ color: rgb(47, 98, 216);
/* oklch */ color: oklch(53.2% 0.190 263.6);
Tailwind
colors: {
  custom: {
    50: '#818ee5',
    500: '#2f62d8',
    950: '#000000',
  },
}
SCSS
$custom: #2f62d8;
$custom-light: #818ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62d8",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 221.893,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53189,
    "c": 0.18969,
    "h": 263.6
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#2F62D8
secondary
#D7C08C
accent
#B73DEB
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2F62D8

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

Preview Lab → · Contrast checker → · Palette generator →

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