#2E5EB0#2E5EB0

#2E5EB0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.141 H 260.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2E5EB0
RGBrgb(46, 94, 176)
HSLhsl(218, 59%, 44%)
HSVhsv(218, 74%, 69%)
CMYKcmyk(73.9%, 46.6%, 0%, 31%)
CIE-LABlab(40.77, 12.69, -48.46)
CIE-LCHlch(40.77, 50.09, 284.67°)
OKLaboklab(49.34% -0.0236 -0.1389)
OKLCHoklch(49.34% 0.141 260.4)
XYZxyz(12.9631, 11.7194, 42.6448)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EB0 #B0802E
analogous
#2E9FB0 #2E5EB0 #3F2EB0
triadic
#2E5EB0 #B02E5E #5EB02E
tetradic
#2E5EB0 #B02E9F #B0802E #2EB03F
square
#2E5EB0 #B02E9F #B0802E #2EB03F
split-complementary
#2E5EB0 #B03F2E #9FB02E
monochromatic
#152A4F #21447F #2E5EB0 #4B7CD0 #7CA0DD

Accessibility & contrast

On white

6.28
#2E5EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5EB0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EB0#FFFFFF#000000##FFFFFF
##2E5EB01.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B3
Deuteranopia (green-blind)
#155BAE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5eb0;
/* rgb */ color: rgb(46, 94, 176);
/* oklch */ color: oklch(49.3% 0.141 260.4);
Tailwind
colors: {
  custom: {
    50: '#788bc8',
    500: '#2e5eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eb0;
$custom-light: #788bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eb0",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 217.846,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.14091,
    "h": 260.4
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#2E5EB0
secondary
#C5A775
accent
#A846E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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