#2E5BBC#2E5BBC

#2E5BBC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.161 H 263.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2E5BBC
RGBrgb(46, 91, 188)
HSLhsl(221, 61%, 46%)
HSVhsv(221, 76%, 74%)
CMYKcmyk(75.5%, 51.6%, 0%, 26.3%)
CIE-LABlab(40.72, 19.20, -55.56)
CIE-LCHlch(40.72, 58.78, 289.06°)
OKLaboklab(49.56% -0.0194 -0.1599)
OKLCHoklch(49.56% 0.161 263.1)
XYZxyz(13.9417, 11.6923, 49.0893)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BBC #BC8F2E
analogous
#2EA2BC #2E5BBC #482EBC
triadic
#2E5BBC #BC2E5B #5BBC2E
tetradic
#2E5BBC #BC2EA2 #BC8F2E #2EBC48
square
#2E5BBC #BC2EA2 #BC8F2E #2EBC48
split-complementary
#2E5BBC #BC482E #A2BC2E
monochromatic
#162B5A #22438B #2E5BBC #527CD5 #84A1E1

Accessibility & contrast

On white

6.29
#2E5BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2E5BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BBC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BBC#FFFFFF#000000##FFFFFF
##2E5BBC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67BF
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5bbc;
/* rgb */ color: rgb(46, 91, 188);
/* oklch */ color: oklch(49.6% 0.161 263.1);
Tailwind
colors: {
  custom: {
    50: '#7b88d1',
    500: '#2e5bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bbc;
$custom-light: #7b88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bbc",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 220.986,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49564,
    "c": 0.16105,
    "h": 263.1
  },
  "luminance": 0.11694
}

Semantic roles & 50–950 ramp

primary
#2E5BBC
secondary
#CAB17C
accent
#B144E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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