#2E5FB3#2E5FB3

#2E5FB3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.144 H 260.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2E5FB3
RGBrgb(46, 95, 179)
HSLhsl(218, 59%, 44%)
HSVhsv(218, 74%, 70%)
CMYKcmyk(74.3%, 46.9%, 0%, 29.8%)
CIE-LABlab(41.25, 13.18, -49.45)
CIE-LCHlch(41.25, 51.17, 284.92°)
OKLaboklab(49.77% -0.0239 -0.1418)
OKLCHoklch(49.77% 0.144 260.4)
XYZxyz(13.3527, 12.0185, 44.2552)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FB3 #B3822E
analogous
#2EA2B3 #2E5FB3 #402EB3
triadic
#2E5FB3 #B32E5F #5FB32E
tetradic
#2E5FB3 #B32EA2 #B3822E #2EB340
square
#2E5FB3 #B32EA2 #B3822E #2EB340
split-complementary
#2E5FB3 #B3402E #A2B32E
monochromatic
#152B52 #214582 #2E5FB3 #4D7ED1 #7EA1DE

Accessibility & contrast

On white

6.17
#2E5FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2E5FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FB3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FB3#FFFFFF#000000##FFFFFF
##2E5FB31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#115CB1
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5fb3;
/* rgb */ color: rgb(46, 95, 179);
/* oklch */ color: oklch(49.8% 0.144 260.4);
Tailwind
colors: {
  custom: {
    50: '#798bca',
    500: '#2e5fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fb3;
$custom-light: #798bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fb3",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 217.895,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49771,
    "c": 0.14384,
    "h": 260.4
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#2E5FB3
secondary
#C6A976
accent
#A946E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E5FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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