#2E5FB1#2E5FB1

#2E5FB1 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.141 H 260.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2E5FB1
RGBrgb(46, 95, 177)
HSLhsl(218, 59%, 44%)
HSVhsv(218, 74%, 69%)
CMYKcmyk(74%, 46.3%, 0%, 30.6%)
CIE-LABlab(41.12, 12.42, -48.48)
CIE-LCHlch(41.12, 50.05, 284.37°)
OKLaboklab(49.63% -0.0243 -0.139)
OKLCHoklch(49.63% 0.141 260.1)
XYZxyz(13.1519, 11.9381, 43.1976)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FB1 #B1802E
analogous
#2EA0B1 #2E5FB1 #3E2EB1
triadic
#2E5FB1 #B12E5F #5FB12E
tetradic
#2E5FB1 #B12EA0 #B1802E #2EB13E
square
#2E5FB1 #B12EA0 #B1802E #2EB13E
split-complementary
#2E5FB1 #B13E2E #A0B12E
monochromatic
#152B50 #214580 #2E5FB1 #4C7DD0 #7CA1DD

Accessibility & contrast

On white

6.20
#2E5FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2E5FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FB1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FB1#FFFFFF#000000##FFFFFF
##2E5FB11.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B4
Deuteranopia (green-blind)
#175BAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5fb1;
/* rgb */ color: rgb(46, 95, 177);
/* oklch */ color: oklch(49.6% 0.141 260.1);
Tailwind
colors: {
  custom: {
    50: '#788bc9',
    500: '#2e5fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fb1;
$custom-light: #788bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fb1",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 217.557,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.14108,
    "h": 260.1
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#2E5FB1
secondary
#C6A875
accent
#A846E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2E5FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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