#2E62B2#2E62B2

#2E62B2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.139 H 258.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2E62B2
RGBrgb(46, 98, 178)
HSLhsl(216, 59%, 44%)
HSVhsv(216, 74%, 70%)
CMYKcmyk(74.2%, 44.9%, 0%, 30.2%)
CIE-LABlab(42.05, 10.86, -47.58)
CIE-LCHlch(42.05, 48.80, 282.86°)
OKLaboklab(50.37% -0.0267 -0.1363)
OKLCHoklch(50.37% 0.139 258.9)
XYZxyz(13.5274, 12.5291, 43.8163)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62B2 #B27E2E
analogous
#2EA4B2 #2E62B2 #3C2EB2
triadic
#2E62B2 #B22E62 #62B22E
tetradic
#2E62B2 #B22EA4 #B27E2E #2EB23C
square
#2E62B2 #B22EA4 #B27E2E #2EB23C
split-complementary
#2E62B2 #B23C2E #A4B22E
monochromatic
#152C51 #214781 #2E62B2 #4C81D1 #7DA3DD

Accessibility & contrast

On white

5.99
#2E62B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2E62B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62B2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62B2#FFFFFF#000000##FFFFFF
##2E62B21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#1F5EB0
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e62b2;
/* rgb */ color: rgb(46, 98, 178);
/* oklch */ color: oklch(50.4% 0.139 258.9);
Tailwind
colors: {
  custom: {
    50: '#788ec9',
    500: '#2e62b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e62b2;
$custom-light: #788ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62b2",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 216.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.13887,
    "h": 258.9
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#2E62B2
secondary
#C6A676
accent
#A446E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E62B2

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

Preview Lab → · Contrast checker → · Palette generator →

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