#2E5FB7#2E5FB7

#2E5FB7 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.149 H 261.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2E5FB7
RGBrgb(46, 95, 183)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 72%)
CMYKcmyk(74.9%, 48.1%, 0%, 28.2%)
CIE-LABlab(41.50, 14.69, -51.38)
CIE-LCHlch(41.50, 53.44, 285.96°)
OKLaboklab(50.05% -0.0233 -0.1475)
OKLCHoklch(50.05% 0.149 261)
XYZxyz(13.7631, 12.1826, 46.4167)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FB7 #B7862E
analogous
#2EA4B7 #2E5FB7 #412EB7
triadic
#2E5FB7 #B72E5F #5FB72E
tetradic
#2E5FB7 #B72EA4 #B7862E #2EB741
square
#2E5FB7 #B72EA4 #B7862E #2EB741
split-complementary
#2E5FB7 #B7412E #A4B72E
monochromatic
#152C55 #224686 #2E5FB7 #4F7ED3 #80A2DF

Accessibility & contrast

On white

6.11
#2E5FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2E5FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FB7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FB7#FFFFFF#000000##FFFFFF
##2E5FB71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BA
Deuteranopia (green-blind)
#025CB5
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5fb7;
/* rgb */ color: rgb(46, 95, 183);
/* oklch */ color: oklch(50.1% 0.149 261.0);
Tailwind
colors: {
  custom: {
    50: '#7a8bcd',
    500: '#2e5fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fb7;
$custom-light: #7a8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fb7",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 218.54,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50053,
    "c": 0.14933,
    "h": 261
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#2E5FB7
secondary
#C8AC79
accent
#AA45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E5FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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