#2B54C4#2B54C4

#2B54C4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.181 H 265.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2B54C4
RGBrgb(43, 84, 196)
HSLhsl(224, 64%, 47%)
HSVhsv(224, 78%, 77%)
CMYKcmyk(78.1%, 57.1%, 0%, 23.1%)
CIE-LABlab(39.31, 26.46, -62.52)
CIE-LCHlch(39.31, 67.89, 292.94°)
OKLaboklab(48.65% -0.0158 -0.1805)
OKLCHoklch(48.65% 0.181 265)
XYZxyz(14.1269, 10.8381, 53.5613)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54C4 #C49B2B
analogous
#2BA0C4 #2B54C4 #4F2BC4
triadic
#2B54C4 #C42B54 #54C42B
tetradic
#2B54C4 #C42BA0 #C49B2B #2BC44F
square
#2B54C4 #C42BA0 #C49B2B #2BC44F
split-complementary
#2B54C4 #C44F2B #A0C42B
monochromatic
#152960 #203E92 #2B54C4 #5377D9 #859FE4

Accessibility & contrast

On white

6.63
#2B54C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2B54C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B54C4
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54C4#FFFFFF#000000##FFFFFF
##2B54C41.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b54c4;
/* rgb */ color: rgb(43, 84, 196);
/* oklch */ color: oklch(48.6% 0.181 265.0);
Tailwind
colors: {
  custom: {
    50: '#7c83d7',
    500: '#2b54c4',
    950: '#000000',
  },
}
SCSS
$custom: #2b54c4;
$custom-light: #7c83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54c4",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 223.922,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48647,
    "c": 0.18122,
    "h": 265
  },
  "luminance": 0.1084
}

Semantic roles & 50–950 ramp

primary
#2B54C4
secondary
#CEB87D
accent
#BA41E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B54C4

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

Preview Lab → · Contrast checker → · Palette generator →

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