#2C54B1#2C54B1

#2C54B1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.155 H 263.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2C54B1
RGBrgb(44, 84, 177)
HSLhsl(222, 60%, 43%)
HSVhsv(222, 75%, 69%)
CMYKcmyk(75.1%, 52.5%, 0%, 30.6%)
CIE-LABlab(37.93, 19.36, -53.62)
CIE-LCHlch(37.93, 57.01, 289.85°)
OKLaboklab(47.17% -0.0165 -0.1543)
OKLCHoklch(47.17% 0.155 263.9)
XYZxyz(12.1420, 10.0491, 42.8862)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54B1 #B1892C
analogous
#2C96B1 #2C54B1 #462CB1
triadic
#2C54B1 #B12C54 #54B12C
tetradic
#2C54B1 #B12C96 #B1892C #2CB146
square
#2C54B1 #B12C96 #B1892C #2CB146
split-complementary
#2C54B1 #B1462C #96B12C
monochromatic
#14254F #203D80 #2C54B1 #4972D2 #7A98DE

Accessibility & contrast

On white

6.98
#2C54B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2C54B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C54B1
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54B1#FFFFFF#000000##FFFFFF
##2C54B11.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c54b1;
/* rgb */ color: rgb(44, 84, 177);
/* oklch */ color: oklch(47.2% 0.155 263.9);
Tailwind
colors: {
  custom: {
    50: '#7883c9',
    500: '#2c54b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c54b1;
$custom-light: #7883c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54b1",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 177
  },
  "hsl": {
    "h": 221.955,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47172,
    "c": 0.15522,
    "h": 263.9
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#2C54B1
secondary
#C6AD73
accent
#B444E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C54B1

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

Preview Lab → · Contrast checker → · Palette generator →

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