#2F62BF#2F62BF

#2F62BF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.3% C 0.156 H 261.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2F62BF
RGBrgb(47, 98, 191)
HSLhsl(219, 61%, 47%)
HSVhsv(219, 75%, 75%)
CMYKcmyk(75.4%, 48.7%, 0%, 25.1%)
CIE-LABlab(42.91, 15.91, -53.77)
CIE-LCHlch(42.91, 56.07, 286.48°)
OKLaboklab(51.31% -0.0239 -0.1545)
OKLCHoklch(51.31% 0.156 261.2)
XYZxyz(14.9406, 13.0996, 51.0212)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62BF #BF8C2F
analogous
#2FAABF #2F62BF #442FBF
triadic
#2F62BF #BF2F62 #62BF2F
tetradic
#2F62BF #BF2FAA #BF8C2F #2FBF44
square
#2F62BF #BF2FAA #BF8C2F #2FBF44
split-complementary
#2F62BF #BF442F #AABF2F
monochromatic
#17305D #23498E #2F62BF #5683D5 #87A7E1

Accessibility & contrast

On white

5.80
#2F62BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2F62BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62BF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62BF#FFFFFF#000000##FFFFFF
##2F62BF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f62bf;
/* rgb */ color: rgb(47, 98, 191);
/* oklch */ color: oklch(51.3% 0.156 261.2);
Tailwind
colors: {
  custom: {
    50: '#7c8ed3',
    500: '#2f62bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f62bf;
$custom-light: #7c8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62bf",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 218.75,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.15631,
    "h": 261.2
  },
  "luminance": 0.13101
}

Semantic roles & 50–950 ramp

primary
#2F62BF
secondary
#CBB07F
accent
#AB44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2F62BF

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

Preview Lab → · Contrast checker → · Palette generator →

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