#2E5DBD#2E5DBD

#2E5DBD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.160 H 262.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2E5DBD
RGBrgb(46, 93, 189)
HSLhsl(220, 61%, 46%)
HSVhsv(220, 76%, 74%)
CMYKcmyk(75.7%, 50.8%, 0%, 25.9%)
CIE-LABlab(41.35, 18.27, -55.14)
CIE-LCHlch(41.35, 58.08, 288.33°)
OKLaboklab(50.06% -0.0208 -0.1586)
OKLCHoklch(50.06% 0.16 262.5)
XYZxyz(14.2231, 12.0821, 49.7167)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DBD #BD8E2E
analogous
#2EA4BD #2E5DBD #472EBD
triadic
#2E5DBD #BD2E5D #5DBD2E
tetradic
#2E5DBD #BD2EA4 #BD8E2E #2EBD47
square
#2E5DBD #BD2EA4 #BD8E2E #2EBD47
split-complementary
#2E5DBD #BD472E #A4BD2E
monochromatic
#162D5B #22458C #2E5DBD #537ED5 #84A3E1

Accessibility & contrast

On white

6.15
#2E5DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2E5DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DBD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DBD#FFFFFF#000000##FFFFFF
##2E5DBD1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5dbd;
/* rgb */ color: rgb(46, 93, 189);
/* oklch */ color: oklch(50.1% 0.160 262.5);
Tailwind
colors: {
  custom: {
    50: '#7b8ad1',
    500: '#2e5dbd',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dbd;
$custom-light: #7b8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dbd",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 220.28,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.15996,
    "h": 262.5
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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