#2C54B9#2C54B9

#2C54B9 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.166 H 264.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2C54B9
RGBrgb(44, 84, 185)
HSLhsl(223, 62%, 45%)
HSVhsv(223, 76%, 73%)
CMYKcmyk(76.2%, 54.6%, 0%, 27.5%)
CIE-LABlab(38.51, 22.41, -57.39)
CIE-LCHlch(38.51, 61.61, 291.33°)
OKLaboklab(47.8% -0.0158 -0.1654)
OKLCHoklch(47.8% 0.166 264.6)
XYZxyz(12.9629, 10.3774, 47.2094)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54B9 #B9912C
analogous
#2C9AB9 #2C54B9 #4B2CB9
triadic
#2C54B9 #B92C54 #54B92C
tetradic
#2C54B9 #B92C9A #B9912C #2CB94B
square
#2C54B9 #B92C9A #B9912C #2CB94B
split-complementary
#2C54B9 #B94B2C #9AB92C
monochromatic
#142756 #203E88 #2C54B9 #4D74D5 #7F9BE1

Accessibility & contrast

On white

6.83
#2C54B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2C54B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C54B9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54B9#FFFFFF#000000##FFFFFF
##2C54B91.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c54b9;
/* rgb */ color: rgb(44, 84, 185);
/* oklch */ color: oklch(47.8% 0.166 264.6);
Tailwind
colors: {
  custom: {
    50: '#7a83cf',
    500: '#2c54b9',
    950: '#000000',
  },
}
SCSS
$custom: #2c54b9;
$custom-light: #7a83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54b9",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 185
  },
  "hsl": {
    "h": 222.979,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.16617,
    "h": 264.6
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#2C54B9
secondary
#C9B278
accent
#B743E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C54B9

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

Preview Lab → · Contrast checker → · Palette generator →

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