#2C54AF#2C54AF

#2C54AF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.152 H 263.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2C54AF
RGBrgb(44, 84, 175)
HSLhsl(222, 60%, 43%)
HSVhsv(222, 75%, 69%)
CMYKcmyk(74.9%, 52%, 0%, 31.4%)
CIE-LABlab(37.79, 18.60, -52.67)
CIE-LCHlch(37.79, 55.86, 289.45°)
OKLaboklab(47.02% -0.0167 -0.1515)
OKLCHoklch(47.02% 0.152 263.7)
XYZxyz(11.9441, 9.9700, 41.8440)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54AF #AF872C
analogous
#2C96AF #2C54AF #452CAF
triadic
#2C54AF #AF2C54 #54AF2C
tetradic
#2C54AF #AF2C96 #AF872C #2CAF45
square
#2C54AF #AF2C96 #AF872C #2CAF45
split-complementary
#2C54AF #AF452C #96AF2C
monochromatic
#13254D #203D7E #2C54AF #4771D1 #7897DD

Accessibility & contrast

On white

7.01
#2C54AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C54AF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54AF#FFFFFF#000000##FFFFFF
##2C54AF1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c54af;
/* rgb */ color: rgb(44, 84, 175);
/* oklch */ color: oklch(47.0% 0.152 263.7);
Tailwind
colors: {
  custom: {
    50: '#7883c7',
    500: '#2c54af',
    950: '#000000',
  },
}
SCSS
$custom: #2c54af;
$custom-light: #7883c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54af",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 221.679,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47019,
    "c": 0.15245,
    "h": 263.7
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#2C54AF
secondary
#C5AC72
accent
#B345E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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