#2E54BF#2E54BF

#2E54BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.174 H 265.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2E54BF
RGBrgb(46, 84, 191)
HSLhsl(224, 61%, 46%)
HSVhsv(224, 76%, 75%)
CMYKcmyk(75.9%, 56%, 0%, 25.1%)
CIE-LABlab(39.04, 24.91, -60.04)
CIE-LCHlch(39.04, 65.00, 292.53°)
OKLaboklab(48.36% -0.0138 -0.1732)
OKLCHoklch(48.36% 0.174 265.4)
XYZxyz(13.6977, 10.6816, 50.6199)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54BF #BF992E
analogous
#2E9DBF #2E54BF #512EBF
triadic
#2E54BF #BF2E54 #54BF2E
tetradic
#2E54BF #BF2E9D #BF992E #2EBF51
square
#2E54BF #BF2E9D #BF992E #2EBF51
split-complementary
#2E54BF #BF512E #9DBF2E
monochromatic
#16295C #223E8E #2E54BF #5476D6 #869EE2

Accessibility & contrast

On white

6.70
#2E54BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2E54BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54BF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54BF#FFFFFF#000000##FFFFFF
##2E54BF1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e54bf;
/* rgb */ color: rgb(46, 84, 191);
/* oklch */ color: oklch(48.4% 0.174 265.4);
Tailwind
colors: {
  custom: {
    50: '#7c83d3',
    500: '#2e54bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e54bf;
$custom-light: #7c83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54bf",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 224.276,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.17373,
    "h": 265.4
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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