#2E54BD#2E54BD

#2E54BD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.171 H 265.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2E54BD
RGBrgb(46, 84, 189)
HSLhsl(224, 61%, 46%)
HSVhsv(224, 76%, 74%)
CMYKcmyk(75.7%, 55.6%, 0%, 25.9%)
CIE-LABlab(38.89, 24.15, -59.12)
CIE-LCHlch(38.89, 63.86, 292.22°)
OKLaboklab(48.2% -0.0139 -0.1705)
OKLCHoklch(48.2% 0.171 265.3)
XYZxyz(13.4791, 10.5941, 49.4687)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54BD #BD972E
analogous
#2E9BBD #2E54BD #4F2EBD
triadic
#2E54BD #BD2E54 #54BD2E
tetradic
#2E54BD #BD2E9B #BD972E #2EBD4F
square
#2E54BD #BD2E9B #BD972E #2EBD4F
split-complementary
#2E54BD #BD4F2E #9BBD2E
monochromatic
#16285B #223E8C #2E54BD #5376D5 #849DE1

Accessibility & contrast

On white

6.73
#2E54BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2E54BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54BD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54BD#FFFFFF#000000##FFFFFF
##2E54BD1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e54bd;
/* rgb */ color: rgb(46, 84, 189);
/* oklch */ color: oklch(48.2% 0.171 265.3);
Tailwind
colors: {
  custom: {
    50: '#7b83d2',
    500: '#2e54bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e54bd;
$custom-light: #7b83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54bd",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 224.056,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48197,
    "c": 0.17104,
    "h": 265.3
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#2E54BD
secondary
#CAB67C
accent
#B944E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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