#2E61B2#2E61B2

#2E61B2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.140 H 259.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2E61B2
RGBrgb(46, 97, 178)
HSLhsl(217, 59%, 44%)
HSVhsv(217, 74%, 70%)
CMYKcmyk(74.2%, 45.5%, 0%, 30.2%)
CIE-LABlab(41.76, 11.50, -48.04)
CIE-LCHlch(41.76, 49.40, 283.47°)
OKLaboklab(50.14% -0.0259 -0.1376)
OKLCHoklch(50.14% 0.14 259.4)
XYZxyz(13.4344, 12.3431, 43.7853)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E61B2 #B27F2E
analogous
#2EA3B2 #2E61B2 #3D2EB2
triadic
#2E61B2 #B22E61 #61B22E
tetradic
#2E61B2 #B22EA3 #B27F2E #2EB23D
square
#2E61B2 #B22EA3 #B27F2E #2EB23D
split-complementary
#2E61B2 #B23D2E #A3B22E
monochromatic
#152C51 #214681 #2E61B2 #4C80D1 #7DA2DD

Accessibility & contrast

On white

6.05
#2E61B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2E61B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E61B2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E61B2#FFFFFF#000000##FFFFFF
##2E61B21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#007481
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e61b2;
/* rgb */ color: rgb(46, 97, 178);
/* oklch */ color: oklch(50.1% 0.140 259.4);
Tailwind
colors: {
  custom: {
    50: '#788dc9',
    500: '#2e61b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e61b2;
$custom-light: #788dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e61b2",
  "rgb": {
    "r": 46,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 216.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.14006,
    "h": 259.4
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E61B2

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

Preview Lab → · Contrast checker → · Palette generator →

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