#2E62B0#2E62B0

#2E62B0 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.2% C 0.136 H 258.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2E62B0
RGBrgb(46, 98, 176)
HSLhsl(216, 59%, 44%)
HSVhsv(216, 74%, 69%)
CMYKcmyk(73.9%, 44.3%, 0%, 31%)
CIE-LABlab(41.92, 10.10, -46.60)
CIE-LCHlch(41.92, 47.69, 282.23°)
OKLaboklab(50.23% -0.0271 -0.1334)
OKLCHoklch(50.23% 0.136 258.5)
XYZxyz(13.3280, 12.4493, 42.7664)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E62B0 #B07C2E
analogous
#2EA3B0 #2E62B0 #3B2EB0
triadic
#2E62B0 #B02E62 #62B02E
tetradic
#2E62B0 #B02EA3 #B07C2E #2EB03B
square
#2E62B0 #B02EA3 #B07C2E #2EB03B
split-complementary
#2E62B0 #B03B2E #A3B02E
monochromatic
#152C4F #21477F #2E62B0 #4B80D0 #7CA3DD

Accessibility & contrast

On white

6.02
#2E62B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2E62B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E62B0
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E62B0#FFFFFF#000000##FFFFFF
##2E62B01.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B3
Deuteranopia (green-blind)
#225DAE
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e62b0;
/* rgb */ color: rgb(46, 98, 176);
/* oklch */ color: oklch(50.2% 0.136 258.5);
Tailwind
colors: {
  custom: {
    50: '#788ec8',
    500: '#2e62b0',
    950: '#000000',
  },
}
SCSS
$custom: #2e62b0;
$custom-light: #788ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e62b0",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 176
  },
  "hsl": {
    "h": 216,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50231,
    "c": 0.13613,
    "h": 258.5
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#2E62B0
secondary
#C5A575
accent
#A346E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E62B0

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

Preview Lab → · Contrast checker → · Palette generator →

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