#2E54BE#2E54BE

#2E54BE is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.172 H 265.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2E54BE
RGBrgb(46, 84, 190)
HSLhsl(224, 61%, 46%)
HSVhsv(224, 76%, 75%)
CMYKcmyk(75.8%, 55.8%, 0%, 25.5%)
CIE-LABlab(38.96, 24.53, -59.58)
CIE-LCHlch(38.96, 64.43, 292.38°)
OKLaboklab(48.28% -0.0138 -0.1718)
OKLCHoklch(48.28% 0.172 265.4)
XYZxyz(13.5880, 10.6377, 50.0424)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54BE #BE982E
analogous
#2E9CBE #2E54BE #502EBE
triadic
#2E54BE #BE2E54 #54BE2E
tetradic
#2E54BE #BE2E9C #BE982E #2EBE50
square
#2E54BE #BE2E9C #BE982E #2EBE50
split-complementary
#2E54BE #BE502E #9CBE2E
monochromatic
#16285B #223E8D #2E54BE #5476D6 #859DE1

Accessibility & contrast

On white

6.71
#2E54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2E54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54BE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54BE#FFFFFF#000000##FFFFFF
##2E54BE1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e54be;
/* rgb */ color: rgb(46, 84, 190);
/* oklch */ color: oklch(48.3% 0.172 265.4);
Tailwind
colors: {
  custom: {
    50: '#7c83d2',
    500: '#2e54be',
    950: '#000000',
  },
}
SCSS
$custom: #2e54be;
$custom-light: #7c83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54be",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 224.167,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.17238,
    "h": 265.4
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#2E54BE
secondary
#CBB67D
accent
#BA44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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