#2F62BC#2F62BC

#2F62BC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.152 H 260.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2F62BC
RGBrgb(47, 98, 188)
HSLhsl(218, 60%, 46%)
HSVhsv(218, 75%, 74%)
CMYKcmyk(75%, 47.9%, 0%, 26.3%)
CIE-LABlab(42.72, 14.77, -52.34)
CIE-LCHlch(42.72, 54.39, 285.76°)
OKLaboklab(51.1% -0.0243 -0.1503)
OKLCHoklch(51.1% 0.152 260.8)
XYZxyz(14.6138, 12.9689, 49.3003)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F62BC #BC892F
analogous
#2FA8BC #2F62BC #422FBC
triadic
#2F62BC #BC2F62 #62BC2F
tetradic
#2F62BC #BC2FA8 #BC892F #2FBC42
square
#2F62BC #BC2FA8 #BC892F #2FBC42
split-complementary
#2F62BC #BC422F #A8BC2F
monochromatic
#172F5A #23488B #2F62BC #5482D4 #85A6E0

Accessibility & contrast

On white

5.84
#2F62BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2F62BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F62BC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F62BC#FFFFFF#000000##FFFFFF
##2F62BC1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#035FBA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f62bc;
/* rgb */ color: rgb(47, 98, 188);
/* oklch */ color: oklch(51.1% 0.152 260.8);
Tailwind
colors: {
  custom: {
    50: '#7b8ed1',
    500: '#2f62bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f62bc;
$custom-light: #7b8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f62bc",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 218.298,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51098,
    "c": 0.15223,
    "h": 260.8
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#2F62BC
secondary
#CAAE7D
accent
#AA45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2F62BC

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

Preview Lab → · Contrast checker → · Palette generator →

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