#2E5BB9#2E5BB9

#2E5BB9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.157 H 262.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2E5BB9
RGBrgb(46, 91, 185)
HSLhsl(221, 60%, 45%)
HSVhsv(221, 75%, 73%)
CMYKcmyk(75.1%, 50.8%, 0%, 27.5%)
CIE-LABlab(40.52, 18.06, -54.14)
CIE-LCHlch(40.52, 57.07, 288.44°)
OKLaboklab(49.34% -0.0197 -0.1557)
OKLCHoklch(49.34% 0.157 262.8)
XYZxyz(13.6216, 11.5643, 47.4038)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BB9 #B98C2E
analogous
#2EA0B9 #2E5BB9 #472EB9
triadic
#2E5BB9 #B92E5B #5BB92E
tetradic
#2E5BB9 #B92EA0 #B98C2E #2EB947
square
#2E5BB9 #B92EA0 #B98C2E #2EB947
split-complementary
#2E5BB9 #B9472E #A0B92E
monochromatic
#162B57 #224388 #2E5BB9 #517BD4 #82A0E0

Accessibility & contrast

On white

6.34
#2E5BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2E5BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BB9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BB9#FFFFFF#000000##FFFFFF
##2E5BB91.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2e5bb9;
/* rgb */ color: rgb(46, 91, 185);
/* oklch */ color: oklch(49.3% 0.157 262.8);
Tailwind
colors: {
  custom: {
    50: '#7a88cf',
    500: '#2e5bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bb9;
$custom-light: #7a88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bb9",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 185
  },
  "hsl": {
    "h": 220.576,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49339,
    "c": 0.15695,
    "h": 262.8
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

primary
#2E5BB9
secondary
#C9AF7A
accent
#B044E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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