#2E62BB#2E62BB

#2E62BB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.151 H 260.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2E62BB
RGBrgb(46, 98, 187)
HSLhsl(218, 61%, 46%)
HSVhsv(218, 75%, 73%)
CMYKcmyk(75.4%, 47.6%, 0%, 26.7%)
CIE-LABlab(42.62, 14.27, -51.92)
CIE-LCHlch(42.62, 53.85, 285.37°)
OKLaboklab(50.99% -0.0252 -0.149)
OKLCHoklch(50.99% 0.151 260.4)
XYZxyz(14.4608, 12.9024, 48.7324)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62BB #BB872E
analogous
#2EA8BB #2E62BB #402EBB
triadic
#2E62BB #BB2E62 #62BB2E
tetradic
#2E62BB #BB2EA8 #BB872E #2EBB40
square
#2E62BB #BB2EA8 #BB872E #2EBB40
split-complementary
#2E62BB #BB402E #A8BB2E
monochromatic
#162F59 #22488A #2E62BB #5282D4 #83A5E0

Accessibility & contrast

On white

5.86
#2E62BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2E62BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62BB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62BB#FFFFFF#000000##FFFFFF
##2E62BB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#065FB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2e62bb;
/* rgb */ color: rgb(46, 98, 187);
/* oklch */ color: oklch(51.0% 0.151 260.4);
Tailwind
colors: {
  custom: {
    50: '#7a8ed0',
    500: '#2e62bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e62bb;
$custom-light: #7a8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62bb",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 217.872,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5099,
    "c": 0.15117,
    "h": 260.4
  },
  "luminance": 0.12904
}

Semantic roles & 50–950 ramp

primary
#2E62BB
secondary
#CAAD7B
accent
#A944E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E62BB

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

Preview Lab → · Contrast checker → · Palette generator →

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