#2C559E#2C559E

#2C559E is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.127 H 260.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2C559E
RGBrgb(44, 85, 158)
HSLhsl(218, 56%, 40%)
HSVhsv(218, 72%, 62%)
CMYKcmyk(72.2%, 46.2%, 0%, 38%)
CIE-LABlab(36.93, 11.44, -43.93)
CIE-LCHlch(36.93, 45.39, 284.59°)
OKLaboklab(46% -0.02 -0.1258)
OKLCHoklch(46% 0.127 260.9)
XYZxyz(10.4565, 9.5000, 33.6237)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C559E #9E752C
analogous
#2C8E9E #2C559E #3C2C9E
triadic
#2C559E #9E2C55 #559E2C
tetradic
#2C559E #9E2C8E #9E752C #2C9E3C
square
#2C559E #9E2C8E #9E752C #2C9E3C
split-complementary
#2C559E #9E3C2C #8E9E2C
monochromatic
#11213E #1F3B6E #2C559E #3E70C9 #6E93D7

Accessibility & contrast

On white

7.24
#2C559E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2C559E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C559E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C559E#FFFFFF#000000##FFFFFF
##2C559E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA1
Deuteranopia (green-blind)
#19529D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c559e;
/* rgb */ color: rgb(44, 85, 158);
/* oklch */ color: oklch(46.0% 0.127 260.9);
Tailwind
colors: {
  custom: {
    50: '#7484bb',
    500: '#2c559e',
    950: '#000000',
  },
}
SCSS
$custom: #2c559e;
$custom-light: #7484bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c559e",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 218.421,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45996,
    "c": 0.12738,
    "h": 260.9
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#2C559E
secondary
#BE9F68
accent
#A948E0
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C559E

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

Preview Lab → · Contrast checker → · Palette generator →

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