#2F62B1#2F62B1

#2F62B1 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.137 H 259.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2F62B1
RGBrgb(47, 98, 177)
HSLhsl(216, 58%, 44%)
HSVhsv(216, 73%, 69%)
CMYKcmyk(73.4%, 44.6%, 0%, 30.6%)
CIE-LABlab(42.02, 10.62, -47.03)
CIE-LCHlch(42.02, 48.22, 282.72°)
OKLaboklab(50.34% -0.0262 -0.1346)
OKLCHoklch(50.34% 0.137 259)
XYZxyz(13.4729, 12.5126, 43.2916)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62B1 #B17E2F
analogous
#2FA3B1 #2F62B1 #3D2FB1
triadic
#2F62B1 #B12F62 #62B12F
tetradic
#2F62B1 #B12FA3 #B17E2F #2FB13D
square
#2F62B1 #B12FA3 #B17E2F #2FB13D
split-complementary
#2F62B1 #B13D2F #A3B12F
monochromatic
#152C50 #224781 #2F62B1 #4D81D0 #7EA3DD

Accessibility & contrast

On white

6.00
#2F62B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F62B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62B1
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62B1#FFFFFF#000000##FFFFFF
##2F62B11.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB4
Deuteranopia (green-blind)
#215EAF
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f62b1;
/* rgb */ color: rgb(47, 98, 177);
/* oklch */ color: oklch(50.3% 0.137 259.0);
Tailwind
colors: {
  custom: {
    50: '#798ec9',
    500: '#2f62b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f62b1;
$custom-light: #798ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62b1",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 177
  },
  "hsl": {
    "h": 216.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.13718,
    "h": 259
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#2F62B1
secondary
#C5A676
accent
#A547E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2F62B1

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

Preview Lab → · Contrast checker → · Palette generator →

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