#2B54C2#2B54C2

#2B54C2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.179 H 264.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2B54C2
RGBrgb(43, 84, 194)
HSLhsl(224, 64%, 46%)
HSVhsv(224, 78%, 76%)
CMYKcmyk(77.8%, 56.7%, 0%, 23.9%)
CIE-LABlab(39.15, 25.71, -61.61)
CIE-LCHlch(39.15, 66.76, 292.65°)
OKLaboklab(48.48% -0.0159 -0.1778)
OKLCHoklch(48.48% 0.179 264.9)
XYZxyz(13.9007, 10.7477, 52.3704)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54C2 #C2992B
analogous
#2BA0C2 #2B54C2 #4E2BC2
triadic
#2B54C2 #C22B54 #54C22B
tetradic
#2B54C2 #C22BA0 #C2992B #2BC24E
square
#2B54C2 #C22BA0 #C2992B #2BC24E
split-complementary
#2B54C2 #C24E2B #A0C22B
monochromatic
#15295E #203E90 #2B54C2 #5276D9 #849EE4

Accessibility & contrast

On white

6.67
#2B54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2B54C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B54C2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54C2#FFFFFF#000000##FFFFFF
##2B54C21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b54c2;
/* rgb */ color: rgb(43, 84, 194);
/* oklch */ color: oklch(48.5% 0.179 264.9);
Tailwind
colors: {
  custom: {
    50: '#7c83d5',
    500: '#2b54c2',
    950: '#000000',
  },
}
SCSS
$custom: #2b54c2;
$custom-light: #7c83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54c2",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 223.709,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.17856,
    "h": 264.9
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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