#2E61BC#2E61BC

#2E61BC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.154 H 260.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2E61BC
RGBrgb(46, 97, 188)
HSLhsl(218, 61%, 46%)
HSVhsv(218, 76%, 74%)
CMYKcmyk(75.5%, 48.4%, 0%, 26.3%)
CIE-LABlab(42.40, 15.30, -52.86)
CIE-LCHlch(42.40, 55.02, 286.14°)
OKLaboklab(50.84% -0.0242 -0.1518)
OKLCHoklch(50.84% 0.154 260.9)
XYZxyz(14.4752, 12.7594, 49.2671)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E61BC #BC892E
analogous
#2EA8BC #2E61BC #422EBC
triadic
#2E61BC #BC2E61 #61BC2E
tetradic
#2E61BC #BC2EA8 #BC892E #2EBC42
square
#2E61BC #BC2EA8 #BC892E #2EBC42
split-complementary
#2E61BC #BC422E #A8BC2E
monochromatic
#162E5A #22488B #2E61BC #5281D5 #84A5E1

Accessibility & contrast

On white

5.91
#2E61BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2E61BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E61BC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E61BC#FFFFFF#000000##FFFFFF
##2E61BC1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e61bc;
/* rgb */ color: rgb(46, 97, 188);
/* oklch */ color: oklch(50.8% 0.154 260.9);
Tailwind
colors: {
  custom: {
    50: '#7b8dd1',
    500: '#2e61bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e61bc;
$custom-light: #7b8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e61bc",
  "rgb": {
    "r": 46,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 218.451,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.15373,
    "h": 260.9
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#2E61BC
secondary
#CAAE7C
accent
#AA44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E61BC

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

Preview Lab → · Contrast checker → · Palette generator →

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