#2E54B9#2E54B9

#2E54B9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.166 H 265.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2E54B9
RGBrgb(46, 84, 185)
HSLhsl(224, 60%, 45%)
HSVhsv(224, 75%, 73%)
CMYKcmyk(75.1%, 54.6%, 0%, 27.5%)
CIE-LABlab(38.59, 22.65, -57.26)
CIE-LCHlch(38.59, 61.57, 291.58°)
OKLaboklab(47.88% -0.0142 -0.165)
OKLCHoklch(47.88% 0.166 265.1)
XYZxyz(13.0509, 10.4228, 47.2135)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54B9 #B9932E
analogous
#2E99B9 #2E54B9 #4D2EB9
triadic
#2E54B9 #B92E54 #54B92E
tetradic
#2E54B9 #B92E99 #B9932E #2EB94D
square
#2E54B9 #B92E99 #B9932E #2EB94D
split-complementary
#2E54B9 #B94D2E #99B92E
monochromatic
#162757 #223E88 #2E54B9 #5174D4 #829BE0

Accessibility & contrast

On white

6.81
#2E54B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2E54B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54B9
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54B9#FFFFFF#000000##FFFFFF
##2E54B91.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e54b9;
/* rgb */ color: rgb(46, 84, 185);
/* oklch */ color: oklch(47.9% 0.166 265.1);
Tailwind
colors: {
  custom: {
    50: '#7b83cf',
    500: '#2e54b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e54b9;
$custom-light: #7b83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54b9",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 185
  },
  "hsl": {
    "h": 223.597,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47879,
    "c": 0.16561,
    "h": 265.1
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#2E54B9
secondary
#C9B37A
accent
#B844E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E54B9

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

Preview Lab → · Contrast checker → · Palette generator →

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