#2E5FB5#2E5FB5

#2E5FB5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.147 H 260.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2E5FB5
RGBrgb(46, 95, 181)
HSLhsl(218, 59%, 45%)
HSVhsv(218, 75%, 71%)
CMYKcmyk(74.6%, 47.5%, 0%, 29%)
CIE-LABlab(41.37, 13.94, -50.41)
CIE-LCHlch(41.37, 52.31, 285.45°)
OKLaboklab(49.91% -0.0236 -0.1447)
OKLCHoklch(49.91% 0.147 260.7)
XYZxyz(13.5564, 12.1000, 45.3282)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FB5 #B5842E
analogous
#2EA3B5 #2E5FB5 #412EB5
triadic
#2E5FB5 #B52E5F #5FB52E
tetradic
#2E5FB5 #B52EA3 #B5842E #2EB541
square
#2E5FB5 #B52EA3 #B5842E #2EB541
split-complementary
#2E5FB5 #B5412E #A3B52E
monochromatic
#152C53 #224584 #2E5FB5 #4E7ED2 #7FA2DE

Accessibility & contrast

On white

6.14
#2E5FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5FB5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FB5#FFFFFF#000000##FFFFFF
##2E5FB51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B8
Deuteranopia (green-blind)
#0A5CB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5fb5;
/* rgb */ color: rgb(46, 95, 181);
/* oklch */ color: oklch(49.9% 0.147 260.7);
Tailwind
colors: {
  custom: {
    50: '#798bcc',
    500: '#2e5fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fb5;
$custom-light: #798bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fb5",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 218.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.14658,
    "h": 260.7
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

primary
#2E5FB5
secondary
#C7AA78
accent
#A945E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E5FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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