#2C54AE#2C54AE

#2C54AE is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.151 H 263.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2C54AE
RGBrgb(44, 84, 174)
HSLhsl(222, 60%, 43%)
HSVhsv(222, 75%, 68%)
CMYKcmyk(74.7%, 51.7%, 0%, 31.8%)
CIE-LABlab(37.72, 18.21, -52.19)
CIE-LCHlch(37.72, 55.28, 289.24°)
OKLaboklab(46.94% -0.0168 -0.1501)
OKLCHoklch(46.94% 0.151 263.6)
XYZxyz(11.8463, 9.9308, 41.3287)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54AE #AE862C
analogous
#2C95AE #2C54AE #452CAE
triadic
#2C54AE #AE2C54 #54AE2C
tetradic
#2C54AE #AE2C95 #AE862C #2CAE45
square
#2C54AE #AE2C95 #AE862C #2CAE45
split-complementary
#2C54AE #AE452C #95AE2C
monochromatic
#13254C #203C7D #2C54AE #4771D0 #7897DD

Accessibility & contrast

On white

7.03
#2C54AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2C54AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C54AE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54AE#FFFFFF#000000##FFFFFF
##2C54AE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5FB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c54ae;
/* rgb */ color: rgb(44, 84, 174);
/* oklch */ color: oklch(46.9% 0.151 263.6);
Tailwind
colors: {
  custom: {
    50: '#7783c7',
    500: '#2c54ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c54ae;
$custom-light: #7783c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54ae",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 221.538,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46943,
    "c": 0.15107,
    "h": 263.6
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#2C54AE
secondary
#C5AB71
accent
#B245E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C54AE

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

Preview Lab → · Contrast checker → · Palette generator →

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