#2E61B3#2E61B3

#2E61B3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.141 H 259.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2E61B3
RGBrgb(46, 97, 179)
HSLhsl(217, 59%, 44%)
HSVhsv(217, 74%, 70%)
CMYKcmyk(74.3%, 45.8%, 0%, 29.8%)
CIE-LABlab(41.82, 11.88, -48.53)
CIE-LCHlch(41.82, 49.96, 283.76°)
OKLaboklab(50.21% -0.0257 -0.1391)
OKLCHoklch(50.21% 0.141 259.5)
XYZxyz(13.5351, 12.3834, 44.3160)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E61B3 #B3802E
analogous
#2EA4B3 #2E61B3 #3D2EB3
triadic
#2E61B3 #B32E61 #61B32E
tetradic
#2E61B3 #B32EA4 #B3802E #2EB33D
square
#2E61B3 #B32EA4 #B3802E #2EB33D
split-complementary
#2E61B3 #B33D2E #A4B32E
monochromatic
#152C52 #214782 #2E61B3 #4D80D1 #7EA3DE

Accessibility & contrast

On white

6.04
#2E61B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2E61B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E61B3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E61B3#FFFFFF#000000##FFFFFF
##2E61B31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B6
Deuteranopia (green-blind)
#1A5DB1
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e61b3;
/* rgb */ color: rgb(46, 97, 179);
/* oklch */ color: oklch(50.2% 0.141 259.5);
Tailwind
colors: {
  custom: {
    50: '#798dca',
    500: '#2e61b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e61b3;
$custom-light: #798dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e61b3",
  "rgb": {
    "r": 46,
    "g": 97,
    "b": 179
  },
  "hsl": {
    "h": 216.992,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.14143,
    "h": 259.5
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#2E61B3
secondary
#C6A876
accent
#A646E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E61B3

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

Preview Lab → · Contrast checker → · Palette generator →

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