#2E54BC#2E54BC

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

Color values

HEX#2E54BC
RGBrgb(46, 84, 188)
HSLhsl(224, 61%, 46%)
HSVhsv(224, 76%, 74%)
CMYKcmyk(75.5%, 55.3%, 0%, 26.3%)
CIE-LABlab(38.81, 23.78, -58.65)
CIE-LCHlch(38.81, 63.29, 292.07°)
OKLaboklab(48.12% -0.014 -0.1691)
OKLCHoklch(48.12% 0.17 265.3)
XYZxyz(13.3709, 10.5508, 48.8990)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54BC #BC962E
analogous
#2E9BBC #2E54BC #4F2EBC
triadic
#2E54BC #BC2E54 #54BC2E
tetradic
#2E54BC #BC2E9B #BC962E #2EBC4F
square
#2E54BC #BC2E9B #BC962E #2EBC4F
split-complementary
#2E54BC #BC4F2E #9BBC2E
monochromatic
#16285A #223E8B #2E54BC #5275D5 #849DE1

Accessibility & contrast

On white

6.75
#2E54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54BC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54BC#FFFFFF#000000##FFFFFF
##2E54BC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e54bc;
/* rgb */ color: rgb(46, 84, 188);
/* oklch */ color: oklch(48.1% 0.170 265.3);
Tailwind
colors: {
  custom: {
    50: '#7b83d1',
    500: '#2e54bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e54bc;
$custom-light: #7b83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54bc",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 223.944,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48117,
    "c": 0.16968,
    "h": 265.3
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#2E54BC
secondary
#CAB57C
accent
#B944E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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