#2C58AC#2C58AC

#2C58AC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.143 H 261.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2C58AC
RGBrgb(44, 88, 172)
HSLhsl(219, 59%, 42%)
HSVhsv(219, 74%, 67%)
CMYKcmyk(74.4%, 48.8%, 0%, 32.5%)
CIE-LABlab(38.71, 14.81, -49.40)
CIE-LCHlch(38.71, 51.58, 286.69°)
OKLaboklab(47.66% -0.0205 -0.1418)
OKLCHoklch(47.66% 0.143 261.8)
XYZxyz(11.9722, 10.4922, 40.4160)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58AC #AC802C
analogous
#2C98AC #2C58AC #402CAC
triadic
#2C58AC #AC2C58 #58AC2C
tetradic
#2C58AC #AC2C98 #AC802C #2CAC40
square
#2C58AC #AC2C98 #AC802C #2CAC40
split-complementary
#2C58AC #AC402C #98AC2C
monochromatic
#13264B #203F7B #2C58AC #4675D0 #7699DC

Accessibility & contrast

On white

6.78
#2C58AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2C58AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58AC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58AC#FFFFFF#000000##FFFFFF
##2C58AC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c58ac;
/* rgb */ color: rgb(44, 88, 172);
/* oklch */ color: oklch(47.7% 0.143 261.8);
Tailwind
colors: {
  custom: {
    50: '#7786c5',
    500: '#2c58ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c58ac;
$custom-light: #7786c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58ac",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 219.375,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47658,
    "c": 0.14332,
    "h": 261.8
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#2C58AC
secondary
#C4A770
accent
#AC45E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C58AC

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

Preview Lab → · Contrast checker → · Palette generator →

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