#2C54AA#2C54AA

#2C54AA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.145 H 263.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2C54AA
RGBrgb(44, 84, 170)
HSLhsl(221, 59%, 42%)
HSVhsv(221, 74%, 67%)
CMYKcmyk(74.1%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.44, 16.68, -50.27)
CIE-LCHlch(37.44, 52.97, 288.36°)
OKLaboklab(46.64% -0.0173 -0.1445)
OKLCHoklch(46.64% 0.146 263.2)
XYZxyz(11.4621, 9.7772, 39.3055)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C54AA #AA822C
analogous
#2C93AA #2C54AA #432CAA
triadic
#2C54AA #AA2C54 #54AA2C
tetradic
#2C54AA #AA2C93 #AA822C #2CAA43
square
#2C54AA #AA2C93 #AA822C #2CAA43
split-complementary
#2C54AA #AA432C #93AA2C
monochromatic
#132449 #1F3C79 #2C54AA #4470CF #7596DB

Accessibility & contrast

On white

7.11
#2C54AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2C54AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C54AA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C54AA#FFFFFF#000000##FFFFFF
##2C54AA1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c54aa;
/* rgb */ color: rgb(44, 84, 170);
/* oklch */ color: oklch(46.6% 0.145 263.2);
Tailwind
colors: {
  custom: {
    50: '#7683c4',
    500: '#2c54aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c54aa;
$custom-light: #7683c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c54aa",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 220.952,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46642,
    "c": 0.1455,
    "h": 263.2
  },
  "luminance": 0.09778
}

Semantic roles & 50–950 ramp

primary
#2C54AA
secondary
#C3A86F
accent
#B046E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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