#2B54C0#2B54C0

#2B54C0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.176 H 264.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2B54C0
RGBrgb(43, 84, 192)
HSLhsl(223, 63%, 46%)
HSVhsv(223, 78%, 75%)
CMYKcmyk(77.6%, 56.3%, 0%, 24.7%)
CIE-LABlab(39.00, 24.95, -60.69)
CIE-LCHlch(39.00, 65.62, 292.35°)
OKLaboklab(48.32% -0.016 -0.1751)
OKLCHoklch(48.32% 0.176 264.8)
XYZxyz(13.6776, 10.6584, 51.1954)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54C0 #C0972B
analogous
#2B9EC0 #2B54C0 #4C2BC0
triadic
#2B54C0 #C02B54 #54C02B
tetradic
#2B54C0 #C02B9E #C0972B #2BC04C
square
#2B54C0 #C02B9E #C0972B #2BC04C
split-complementary
#2B54C0 #C04C2B #9EC02B
monochromatic
#15285C #203E8E #2B54C0 #5076D8 #829DE3

Accessibility & contrast

On white

6.70
#2B54C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2B54C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B54C0
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54C0#FFFFFF#000000##FFFFFF
##2B54C01.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b54c0;
/* rgb */ color: rgb(43, 84, 192);
/* oklch */ color: oklch(48.3% 0.176 264.8);
Tailwind
colors: {
  custom: {
    50: '#7b83d4',
    500: '#2b54c0',
    950: '#000000',
  },
}
SCSS
$custom: #2b54c0;
$custom-light: #7b83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54c0",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 223.49,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.17588,
    "h": 264.8
  },
  "luminance": 0.1066
}

Semantic roles & 50–950 ramp

primary
#2B54C0
secondary
#CCB67B
accent
#B941E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2B54C0

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

Preview Lab → · Contrast checker → · Palette generator →

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