#2E5DB2#2E5DB2

#2E5DB2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.145 H 261.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2E5DB2
RGBrgb(46, 93, 178)
HSLhsl(219, 59%, 44%)
HSVhsv(219, 74%, 70%)
CMYKcmyk(74.2%, 47.8%, 0%, 30.2%)
CIE-LABlab(40.61, 14.10, -49.88)
CIE-LCHlch(40.61, 51.84, 285.78°)
OKLaboklab(49.26% -0.0224 -0.1431)
OKLCHoklch(49.26% 0.145 261.1)
XYZxyz(13.0741, 11.6225, 43.6652)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DB2 #B2832E
analogous
#2E9FB2 #2E5DB2 #412EB2
triadic
#2E5DB2 #B22E5D #5DB22E
tetradic
#2E5DB2 #B22E9F #B2832E #2EB241
square
#2E5DB2 #B22E9F #B2832E #2EB241
split-complementary
#2E5DB2 #B2412E #9FB22E
monochromatic
#152A51 #214481 #2E5DB2 #4C7CD1 #7D9FDD

Accessibility & contrast

On white

6.32
#2E5DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2E5DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DB2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DB2#FFFFFF#000000##FFFFFF
##2E5DB21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#095AB0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5db2;
/* rgb */ color: rgb(46, 93, 178);
/* oklch */ color: oklch(49.3% 0.145 261.1);
Tailwind
colors: {
  custom: {
    50: '#798ac9',
    500: '#2e5db2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5db2;
$custom-light: #798ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5db2",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 218.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.14488,
    "h": 261.1
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#2E5DB2
secondary
#C6A976
accent
#AA46E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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