#2E5BB3#2E5BB3

#2E5BB3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.149 H 262.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2E5BB3
RGBrgb(46, 91, 179)
HSLhsl(220, 59%, 44%)
HSVhsv(220, 74%, 70%)
CMYKcmyk(74.3%, 49.2%, 0%, 29.8%)
CIE-LABlab(40.11, 15.78, -51.28)
CIE-LCHlch(40.11, 53.65, 287.10°)
OKLaboklab(48.9% -0.0205 -0.1473)
OKLCHoklch(48.9% 0.149 262.1)
XYZxyz(13.0016, 11.3163, 44.1381)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BB3 #B3862E
analogous
#2E9EB3 #2E5BB3 #442EB3
triadic
#2E5BB3 #B32E5B #5BB32E
tetradic
#2E5BB3 #B32E9E #B3862E #2EB344
square
#2E5BB3 #B32E9E #B3862E #2EB344
split-complementary
#2E5BB3 #B3442E #9EB32E
monochromatic
#152952 #214282 #2E5BB3 #4D7AD1 #7E9EDE

Accessibility & contrast

On white

6.43
#2E5BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2E5BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BB3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BB3#FFFFFF#000000##FFFFFF
##2E5BB31.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5bb3;
/* rgb */ color: rgb(46, 91, 179);
/* oklch */ color: oklch(48.9% 0.149 262.1);
Tailwind
colors: {
  custom: {
    50: '#7988ca',
    500: '#2e5bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bb3;
$custom-light: #7988ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bb3",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 219.699,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48898,
    "c": 0.14871,
    "h": 262.1
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#2E5BB3
secondary
#C6AB76
accent
#AD46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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