#2E5FB9#2E5FB9

#2E5FB9 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.152 H 261.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2E5FB9
RGBrgb(46, 95, 185)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 73%)
CMYKcmyk(75.1%, 48.6%, 0%, 27.5%)
CIE-LABlab(41.64, 15.45, -52.33)
CIE-LCHlch(41.64, 54.57, 286.45°)
OKLaboklab(50.2% -0.023 -0.1503)
OKLCHoklch(50.2% 0.152 261.3)
XYZxyz(13.9727, 12.2665, 47.5208)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FB9 #B9882E
analogous
#2EA4B9 #2E5FB9 #432EB9
triadic
#2E5FB9 #B92E5F #5FB92E
tetradic
#2E5FB9 #B92EA4 #B9882E #2EB943
square
#2E5FB9 #B92EA4 #B9882E #2EB943
split-complementary
#2E5FB9 #B9432E #A4B92E
monochromatic
#162D57 #224688 #2E5FB9 #517FD4 #82A3E0

Accessibility & contrast

On white

6.08
#2E5FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5FB9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FB9#FFFFFF#000000##FFFFFF
##2E5FB91.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C69BC
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5fb9;
/* rgb */ color: rgb(46, 95, 185);
/* oklch */ color: oklch(50.2% 0.152 261.3);
Tailwind
colors: {
  custom: {
    50: '#7a8bcf',
    500: '#2e5fb9',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fb9;
$custom-light: #7a8bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fb9",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 218.849,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.15206,
    "h": 261.3
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#2E5FB9
secondary
#C9AD7A
accent
#AB44E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E5FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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