#2E62B3#2E62B3

#2E62B3 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.4% C 0.140 H 259.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2E62B3
RGBrgb(46, 98, 179)
HSLhsl(217, 59%, 44%)
HSVhsv(217, 74%, 70%)
CMYKcmyk(74.3%, 45.3%, 0%, 29.8%)
CIE-LABlab(42.11, 11.24, -48.07)
CIE-LCHlch(42.11, 49.36, 283.16°)
OKLaboklab(50.43% -0.0266 -0.1377)
OKLCHoklch(50.43% 0.14 259.1)
XYZxyz(13.6281, 12.5694, 44.3470)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62B3 #B37F2E
analogous
#2EA5B3 #2E62B3 #3C2EB3
triadic
#2E62B3 #B32E62 #62B32E
tetradic
#2E62B3 #B32EA5 #B37F2E #2EB33C
square
#2E62B3 #B32EA5 #B37F2E #2EB33C
split-complementary
#2E62B3 #B33C2E #A5B32E
monochromatic
#152D52 #214782 #2E62B3 #4D81D1 #7EA3DE

Accessibility & contrast

On white

5.98
#2E62B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E62B3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62B3#FFFFFF#000000##FFFFFF
##2E62B31.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#1D5EB1
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e62b3;
/* rgb */ color: rgb(46, 98, 179);
/* oklch */ color: oklch(50.4% 0.140 259.1);
Tailwind
colors: {
  custom: {
    50: '#798eca',
    500: '#2e62b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e62b3;
$custom-light: #798eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62b3",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 216.541,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.14024,
    "h": 259.1
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#2E62B3
secondary
#C6A776
accent
#A546E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E62B3

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

Preview Lab → · Contrast checker → · Palette generator →

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