#2E5FB6#2E5FB6

#2E5FB6 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.148 H 260.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2E5FB6
RGBrgb(46, 95, 182)
HSLhsl(218, 60%, 45%)
HSVhsv(218, 75%, 71%)
CMYKcmyk(74.7%, 47.8%, 0%, 28.6%)
CIE-LABlab(41.44, 14.32, -50.90)
CIE-LCHlch(41.44, 52.87, 285.71°)
OKLaboklab(49.98% -0.0235 -0.1461)
OKLCHoklch(49.98% 0.148 260.9)
XYZxyz(13.6594, 12.1411, 45.8705)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FB6 #B6852E
analogous
#2EA3B6 #2E5FB6 #412EB6
triadic
#2E5FB6 #B62E5F #5FB62E
tetradic
#2E5FB6 #B62EA3 #B6852E #2EB641
square
#2E5FB6 #B62EA3 #B6852E #2EB641
split-complementary
#2E5FB6 #B6412E #A3B62E
monochromatic
#152C54 #224685 #2E5FB6 #4F7ED2 #80A2DF

Accessibility & contrast

On white

6.12
#2E5FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2E5FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FB6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FB6#FFFFFF#000000##FFFFFF
##2E5FB61.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B9
Deuteranopia (green-blind)
#065CB4
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5fb6;
/* rgb */ color: rgb(46, 95, 182);
/* oklch */ color: oklch(50.0% 0.148 260.9);
Tailwind
colors: {
  custom: {
    50: '#798bcc',
    500: '#2e5fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fb6;
$custom-light: #798bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fb6",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 218.382,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49982,
    "c": 0.14795,
    "h": 260.9
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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