#2B54C3#2B54C3

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

Color values

HEX#2B54C3
RGBrgb(43, 84, 195)
HSLhsl(224, 64%, 47%)
HSVhsv(224, 78%, 76%)
CMYKcmyk(77.9%, 56.9%, 0%, 23.5%)
CIE-LABlab(39.23, 26.09, -62.07)
CIE-LCHlch(39.23, 67.33, 292.80°)
OKLaboklab(48.57% -0.0159 -0.1792)
OKLCHoklch(48.57% 0.18 264.9)
XYZxyz(14.0134, 10.7928, 52.9638)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54C3 #C39A2B
analogous
#2BA0C3 #2B54C3 #4E2BC3
triadic
#2B54C3 #C32B54 #54C32B
tetradic
#2B54C3 #C32BA0 #C39A2B #2BC34E
square
#2B54C3 #C32BA0 #C39A2B #2BC34E
split-complementary
#2B54C3 #C34E2B #A0C32B
monochromatic
#15295F #203E91 #2B54C3 #5277D9 #849EE4

Accessibility & contrast

On white

6.65
#2B54C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2B54C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B54C3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54C3#FFFFFF#000000##FFFFFF
##2B54C31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b54c3;
/* rgb */ color: rgb(43, 84, 195);
/* oklch */ color: oklch(48.6% 0.180 264.9);
Tailwind
colors: {
  custom: {
    50: '#7c83d6',
    500: '#2b54c3',
    950: '#000000',
  },
}
SCSS
$custom: #2b54c3;
$custom-light: #7c83d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54c3",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 223.816,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48565,
    "c": 0.17989,
    "h": 264.9
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B54C3

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

Preview Lab → · Contrast checker → · Palette generator →

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