#2E62B8#2E62B8

#2E62B8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.147 H 259.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2E62B8
RGBrgb(46, 98, 184)
HSLhsl(217, 60%, 45%)
HSVhsv(217, 75%, 72%)
CMYKcmyk(75%, 46.7%, 0%, 27.8%)
CIE-LABlab(42.42, 13.13, -50.48)
CIE-LCHlch(42.42, 52.16, 284.58°)
OKLaboklab(50.78% -0.0257 -0.1448)
OKLCHoklch(50.78% 0.147 259.9)
XYZxyz(14.1430, 12.7753, 47.0586)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62B8 #B8842E
analogous
#2EA7B8 #2E62B8 #3F2EB8
triadic
#2E62B8 #B82E62 #62B82E
tetradic
#2E62B8 #B82EA7 #B8842E #2EB83F
square
#2E62B8 #B82EA7 #B8842E #2EB83F
split-complementary
#2E62B8 #B83F2E #A7B82E
monochromatic
#162E56 #224887 #2E62B8 #5081D3 #81A5DF

Accessibility & contrast

On white

5.91
#2E62B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2E62B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62B8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62B8#FFFFFF#000000##FFFFFF
##2E62B81.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#125EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e62b8;
/* rgb */ color: rgb(46, 98, 184);
/* oklch */ color: oklch(50.8% 0.147 259.9);
Tailwind
colors: {
  custom: {
    50: '#7a8ece',
    500: '#2e62b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e62b8;
$custom-light: #7a8ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62b8",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 184
  },
  "hsl": {
    "h": 217.391,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.14708,
    "h": 259.9
  },
  "luminance": 0.12777
}

Semantic roles & 50–950 ramp

primary
#2E62B8
secondary
#C8AB79
accent
#A745E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2E62B8

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

Preview Lab → · Contrast checker → · Palette generator →

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