#2C548E#2C548E

#2C548E is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.106 H 257.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2C548E
RGBrgb(44, 84, 142)
HSLhsl(216, 53%, 36%)
HSVhsv(216, 69%, 56%)
CMYKcmyk(69%, 40.8%, 0%, 44.3%)
CIE-LABlab(35.65, 6.02, -36.30)
CIE-LCHlch(35.65, 36.80, 279.41°)
OKLaboklab(44.69% -0.0224 -0.1034)
OKLCHoklch(44.69% 0.106 257.8)
XYZxyz(9.0898, 8.8282, 26.8109)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C548E #8E662C
analogous
#2C858E #2C548E #352C8E
triadic
#2C548E #8E2C54 #548E2C
tetradic
#2C548E #8E2C85 #8E662C #2C8E35
square
#2C548E #8E2C85 #8E662C #2C8E35
split-complementary
#2C548E #8E352C #858E2C
monochromatic
#0F1D31 #1E385F #2C548E #3A70BD #6590CF

Accessibility & contrast

On white

7.59
#2C548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2C548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C548E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C548E#FFFFFF#000000##FFFFFF
##2C548E1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#2B508D
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c548e;
/* rgb */ color: rgb(44, 84, 142);
/* oklch */ color: oklch(44.7% 0.106 257.8);
Tailwind
colors: {
  custom: {
    50: '#7183af',
    500: '#2c548e',
    950: '#000000',
  },
}
SCSS
$custom: #2c548e;
$custom-light: #7183af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c548e",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 215.51,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4469,
    "c": 0.1058,
    "h": 257.8
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#2C548E
secondary
#B69360
accent
#A14CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C548E

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

Preview Lab → · Contrast checker → · Palette generator →

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