#2E5BBD#2E5BBD

#2E5BBD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.162 H 263.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2E5BBD
RGBrgb(46, 91, 189)
HSLhsl(221, 61%, 46%)
HSVhsv(221, 76%, 74%)
CMYKcmyk(75.7%, 51.9%, 0%, 25.9%)
CIE-LABlab(40.79, 19.57, -56.03)
CIE-LCHlch(40.79, 59.35, 289.26°)
OKLaboklab(49.64% -0.0192 -0.1613)
OKLCHoklch(49.64% 0.162 263.2)
XYZxyz(14.0498, 11.7356, 49.6590)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BBD #BD902E
analogous
#2EA2BD #2E5BBD #482EBD
triadic
#2E5BBD #BD2E5B #5BBD2E
tetradic
#2E5BBD #BD2EA2 #BD902E #2EBD48
square
#2E5BBD #BD2EA2 #BD902E #2EBD48
split-complementary
#2E5BBD #BD482E #A2BD2E
monochromatic
#162C5B #22438C #2E5BBD #537CD5 #84A1E1

Accessibility & contrast

On white

6.27
#2E5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2E5BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BBD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BBD#FFFFFF#000000##FFFFFF
##2E5BBD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5bbd;
/* rgb */ color: rgb(46, 91, 189);
/* oklch */ color: oklch(49.6% 0.162 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b88d2',
    500: '#2e5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bbd;
$custom-light: #7b88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bbd",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 221.119,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.1624,
    "h": 263.2
  },
  "luminance": 0.11737
}

Semantic roles & 50–950 ramp

primary
#2E5BBD
secondary
#CAB27C
accent
#B244E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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