#2C559C#2C559C

#2C559C is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.125 H 260.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2C559C
RGBrgb(44, 85, 156)
HSLhsl(218, 56%, 39%)
HSVhsv(218, 72%, 61%)
CMYKcmyk(71.8%, 45.5%, 0%, 38.8%)
CIE-LABlab(36.80, 10.67, -42.93)
CIE-LCHlch(36.80, 44.24, 283.96°)
OKLaboklab(45.86% -0.0204 -0.1229)
OKLCHoklch(45.86% 0.125 260.6)
XYZxyz(10.2858, 9.4317, 32.7245)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C559C #9C732C
analogous
#2C8D9C #2C559C #3B2C9C
triadic
#2C559C #9C2C55 #559C2C
tetradic
#2C559C #9C2C8D #9C732C #2C9C3B
square
#2C559C #9C2C8D #9C732C #2C9C3B
split-complementary
#2C559C #9C3B2C #8D9C2C
monochromatic
#11213D #1F3B6C #2C559C #3D70C8 #6D93D6

Accessibility & contrast

On white

7.27
#2C559C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2C559C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C559C
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C559C#FFFFFF#000000##FFFFFF
##2C559C1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9F
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c559c;
/* rgb */ color: rgb(44, 85, 156);
/* oklch */ color: oklch(45.9% 0.125 260.6);
Tailwind
colors: {
  custom: {
    50: '#7384ba',
    500: '#2c559c',
    950: '#000000',
  },
}
SCSS
$custom: #2c559c;
$custom-light: #7384ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c559c",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 218.036,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.12454,
    "h": 260.6
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#2C559C
secondary
#BD9D67
accent
#A849DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C559C

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

Preview Lab → · Contrast checker → · Palette generator →

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