#2E61B7#2E61B7

#2E61B7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.5% C 0.147 H 260.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2E61B7
RGBrgb(46, 97, 183)
HSLhsl(218, 60%, 45%)
HSVhsv(218, 75%, 72%)
CMYKcmyk(74.9%, 47%, 0%, 28.2%)
CIE-LABlab(42.07, 13.40, -50.46)
CIE-LCHlch(42.07, 52.21, 284.87°)
OKLaboklab(50.49% -0.025 -0.1448)
OKLCHoklch(50.49% 0.147 260.2)
XYZxyz(13.9456, 12.5476, 46.4775)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E61B7 #B7842E
analogous
#2EA6B7 #2E61B7 #3F2EB7
triadic
#2E61B7 #B72E61 #61B72E
tetradic
#2E61B7 #B72EA6 #B7842E #2EB73F
square
#2E61B7 #B72EA6 #B7842E #2EB73F
split-complementary
#2E61B7 #B73F2E #A6B72E
monochromatic
#152D55 #224786 #2E61B7 #4F80D3 #80A4DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E61B7#FFFFFF#000000##FFFFFF
##2E61B71.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)
#336ABA
Deuteranopia (green-blind)
#0F5DB5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e61b7;
/* rgb */ color: rgb(46, 97, 183);
/* oklch */ color: oklch(50.5% 0.147 260.2);
Tailwind
colors: {
  custom: {
    50: '#7a8dcd',
    500: '#2e61b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e61b7;
$custom-light: #7a8dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e61b7",
  "rgb": {
    "r": 46,
    "g": 97,
    "b": 183
  },
  "hsl": {
    "h": 217.664,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.14691,
    "h": 260.2
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#2E61B7
secondary
#C8AB79
accent
#A845E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E61B7

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

Preview Lab → · Contrast checker → · Palette generator →

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