#2E5FB8#2E5FB8

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

Color values

HEX#2E5FB8
RGBrgb(46, 95, 184)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 72%)
CMYKcmyk(75%, 48.4%, 0%, 27.8%)
CIE-LABlab(41.57, 15.07, -51.86)
CIE-LCHlch(41.57, 54.00, 286.21°)
OKLaboklab(50.13% -0.0231 -0.1489)
OKLCHoklch(50.13% 0.151 261.2)
XYZxyz(13.8675, 12.2244, 46.9668)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FB8 #B8872E
analogous
#2EA4B8 #2E5FB8 #422EB8
triadic
#2E5FB8 #B82E5F #5FB82E
tetradic
#2E5FB8 #B82EA4 #B8872E #2EB842
square
#2E5FB8 #B82EA4 #B8872E #2EB842
split-complementary
#2E5FB8 #B8422E #A4B82E
monochromatic
#162C56 #224687 #2E5FB8 #507FD3 #81A2DF

Accessibility & contrast

On white

6.10
#2E5FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2E5FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FB8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FB8#FFFFFF#000000##FFFFFF
##2E5FB81.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BB
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5fb8;
/* rgb */ color: rgb(46, 95, 184);
/* oklch */ color: oklch(50.1% 0.151 261.2);
Tailwind
colors: {
  custom: {
    50: '#7a8bce',
    500: '#2e5fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fb8;
$custom-light: #7a8bce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fb8",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 218.696,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50125,
    "c": 0.1507,
    "h": 261.2
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#2E5FB8
secondary
#C8AC79
accent
#AB45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E5FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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