#2F62D2#2F62D2

#2F62D2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.182 H 263.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2F62D2
RGBrgb(47, 98, 210)
HSLhsl(221, 64%, 50%)
HSVhsv(221, 78%, 82%)
CMYKcmyk(77.6%, 53.3%, 0%, 17.6%)
CIE-LABlab(44.22, 23.07, -62.61)
CIE-LCHlch(44.22, 66.73, 290.23°)
OKLaboklab(52.72% -0.0217 -0.1805)
OKLCHoklch(52.72% 0.182 263.2)
XYZxyz(17.1687, 13.9909, 62.7559)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62D2 #D29F2F
analogous
#2FB3D2 #2F62D2 #4D2FD2
triadic
#2F62D2 #D22F62 #62D22F
tetradic
#2F62D2 #D22FB3 #D29F2F #2FD24D
square
#2F62D2 #D22FB3 #D29F2F #2FD24D
split-complementary
#2F62D2 #D24D2F #B3D22F
monochromatic
#18336F #234AA1 #2F62D2 #6188DD #94AEE8

Accessibility & contrast

On white

5.53
#2F62D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2F62D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62D2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62D2#FFFFFF#000000##FFFFFF
##2F62D21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0370D6
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f62d2;
/* rgb */ color: rgb(47, 98, 210);
/* oklch */ color: oklch(52.7% 0.182 263.2);
Tailwind
colors: {
  custom: {
    50: '#808ee1',
    500: '#2f62d2',
    950: '#000000',
  },
}
SCSS
$custom: #2f62d2;
$custom-light: #808ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62d2",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 221.227,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.18179,
    "h": 263.2
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#2F62D2
secondary
#D3BC8A
accent
#B340E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2F62D2

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

Preview Lab → · Contrast checker → · Palette generator →

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