#2E54B3#2E54B3

#2E54B3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.157 H 264.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2E54B3
RGBrgb(46, 84, 179)
HSLhsl(223, 59%, 44%)
HSVhsv(223, 74%, 70%)
CMYKcmyk(74.3%, 53.1%, 0%, 29.8%)
CIE-LABlab(38.15, 20.38, -54.44)
CIE-LCHlch(38.15, 58.12, 290.52°)
OKLaboklab(47.41% -0.0147 -0.1567)
OKLCHoklch(47.41% 0.157 264.6)
XYZxyz(12.4308, 10.1748, 43.9479)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54B3 #B38D2E
analogous
#2E97B3 #2E54B3 #4B2EB3
triadic
#2E54B3 #B32E54 #54B32E
tetradic
#2E54B3 #B32E97 #B38D2E #2EB34B
square
#2E54B3 #B32E97 #B38D2E #2EB34B
split-complementary
#2E54B3 #B34B2E #97B32E
monochromatic
#152652 #213D82 #2E54B3 #4D73D1 #7E99DE

Accessibility & contrast

On white

6.92
#2E54B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2E54B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54B3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54B3#FFFFFF#000000##FFFFFF
##2E54B31.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e54b3;
/* rgb */ color: rgb(46, 84, 179);
/* oklch */ color: oklch(47.4% 0.157 264.6);
Tailwind
colors: {
  custom: {
    50: '#7983ca',
    500: '#2e54b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e54b3;
$custom-light: #7983ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54b3",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 222.857,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4741,
    "c": 0.15739,
    "h": 264.6
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#2E54B3
secondary
#C6B076
accent
#B546E2
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E54B3

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

Preview Lab → · Contrast checker → · Palette generator →

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