#2C54BC#2C54BC

#2C54BC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.170 H 264.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2C54BC
RGBrgb(44, 84, 188)
HSLhsl(223, 62%, 45%)
HSVhsv(223, 77%, 74%)
CMYKcmyk(76.6%, 55.3%, 0%, 26.3%)
CIE-LABlab(38.73, 23.54, -58.78)
CIE-LCHlch(38.73, 63.32, 291.83°)
OKLaboklab(48.04% -0.0155 -0.1695)
OKLCHoklch(48.04% 0.17 264.8)
XYZxyz(13.2829, 10.5055, 48.8949)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54BC #BC942C
analogous
#2C9CBC #2C54BC #4C2CBC
triadic
#2C54BC #BC2C54 #54BC2C
tetradic
#2C54BC #BC2C9C #BC942C #2CBC4C
square
#2C54BC #BC2C9C #BC942C #2CBC4C
split-complementary
#2C54BC #BC4C2C #9CBC2C
monochromatic
#152859 #203E8A #2C54BC #4F75D6 #819CE1

Accessibility & contrast

On white

6.77
#2C54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2C54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C54BC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54BC#FFFFFF#000000##FFFFFF
##2C54BC1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c54bc;
/* rgb */ color: rgb(44, 84, 188);
/* oklch */ color: oklch(48.0% 0.170 264.8);
Tailwind
colors: {
  custom: {
    50: '#7b83d1',
    500: '#2c54bc',
    950: '#000000',
  },
}
SCSS
$custom: #2c54bc;
$custom-light: #7b83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54bc",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 223.333,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48036,
    "c": 0.17023,
    "h": 264.8
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#2C54BC
secondary
#CAB479
accent
#B843E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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