#2B54C1#2B54C1

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

Color values

HEX#2B54C1
RGBrgb(43, 84, 193)
HSLhsl(224, 64%, 46%)
HSVhsv(224, 78%, 76%)
CMYKcmyk(77.7%, 56.5%, 0%, 24.3%)
CIE-LABlab(39.08, 25.33, -61.15)
CIE-LCHlch(39.08, 66.19, 292.50°)
OKLaboklab(48.4% -0.016 -0.1765)
OKLCHoklch(48.4% 0.177 264.8)
XYZxyz(13.7888, 10.7029, 51.7809)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54C1 #C1982B
analogous
#2B9FC1 #2B54C1 #4D2BC1
triadic
#2B54C1 #C12B54 #54C12B
tetradic
#2B54C1 #C12B9F #C1982B #2BC14D
square
#2B54C1 #C12B9F #C1982B #2BC14D
split-complementary
#2B54C1 #C14D2B #9FC12B
monochromatic
#15285D #203E8F #2B54C1 #5176D8 #839DE3

Accessibility & contrast

On white

6.69
#2B54C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2B54C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B54C1
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54C1#FFFFFF#000000##FFFFFF
##2B54C11.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b54c1;
/* rgb */ color: rgb(43, 84, 193);
/* oklch */ color: oklch(48.4% 0.177 264.8);
Tailwind
colors: {
  custom: {
    50: '#7b83d5',
    500: '#2b54c1',
    950: '#000000',
  },
}
SCSS
$custom: #2b54c1;
$custom-light: #7b83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54c1",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 193
  },
  "hsl": {
    "h": 223.6,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.17722,
    "h": 264.8
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B54C1

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

Preview Lab → · Contrast checker → · Palette generator →

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