#2E61B5#2E61B5

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

Color values

HEX#2E61B5
RGBrgb(46, 97, 181)
HSLhsl(217, 59%, 45%)
HSVhsv(217, 75%, 71%)
CMYKcmyk(74.6%, 46.4%, 0%, 29%)
CIE-LABlab(41.95, 12.64, -49.50)
CIE-LCHlch(41.95, 51.09, 284.33°)
OKLaboklab(50.35% -0.0253 -0.1419)
OKLCHoklch(50.35% 0.144 259.9)
XYZxyz(13.7389, 12.4649, 45.3890)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E61B5 #B5822E
analogous
#2EA5B5 #2E61B5 #3E2EB5
triadic
#2E61B5 #B52E61 #61B52E
tetradic
#2E61B5 #B52EA5 #B5822E #2EB53E
square
#2E61B5 #B52EA5 #B5822E #2EB53E
split-complementary
#2E61B5 #B53E2E #A5B52E
monochromatic
#152D53 #224784 #2E61B5 #4E80D2 #7FA3DE

Accessibility & contrast

On white

6.01
#2E61B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E61B5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E61B5#FFFFFF#000000##FFFFFF
##2E61B51.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#155DB3
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e61b5;
/* rgb */ color: rgb(46, 97, 181);
/* oklch */ color: oklch(50.4% 0.144 259.9);
Tailwind
colors: {
  custom: {
    50: '#798dcc',
    500: '#2e61b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e61b5;
$custom-light: #798dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e61b5",
  "rgb": {
    "r": 46,
    "g": 97,
    "b": 181
  },
  "hsl": {
    "h": 217.333,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.14417,
    "h": 259.9
  },
  "luminance": 0.12466
}

Semantic roles & 50–950 ramp

primary
#2E61B5
secondary
#C7A978
accent
#A745E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E61B5

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

Preview Lab → · Contrast checker → · Palette generator →

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