#2E5CBD#2E5CBD

#2E5CBD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.161 H 262.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2E5CBD
RGBrgb(46, 92, 189)
HSLhsl(221, 61%, 46%)
HSVhsv(221, 76%, 74%)
CMYKcmyk(75.7%, 51.3%, 0%, 25.9%)
CIE-LABlab(41.07, 18.92, -55.58)
CIE-LCHlch(41.07, 58.72, 288.80°)
OKLaboklab(49.85% -0.02 -0.1599)
OKLCHoklch(49.85% 0.161 262.9)
XYZxyz(14.1359, 11.9077, 49.6877)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CBD #BD8F2E
analogous
#2EA3BD #2E5CBD #472EBD
triadic
#2E5CBD #BD2E5C #5CBD2E
tetradic
#2E5CBD #BD2EA3 #BD8F2E #2EBD47
square
#2E5CBD #BD2EA3 #BD8F2E #2EBD47
split-complementary
#2E5CBD #BD472E #A3BD2E
monochromatic
#162C5B #22448C #2E5CBD #537DD5 #84A2E1

Accessibility & contrast

On white

6.21
#2E5CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2E5CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5CBD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CBD#FFFFFF#000000##FFFFFF
##2E5CBD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5cbd;
/* rgb */ color: rgb(46, 92, 189);
/* oklch */ color: oklch(49.8% 0.161 262.9);
Tailwind
colors: {
  custom: {
    50: '#7b89d2',
    500: '#2e5cbd',
    950: '#000000',
  },
}
SCSS
$custom: #2e5cbd;
$custom-light: #7b89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5cbd",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 220.699,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49849,
    "c": 0.16118,
    "h": 262.9
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#2E5CBD
secondary
#CAB17C
accent
#B044E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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