#2C58AB#2C58AB

#2C58AB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.142 H 261.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2C58AB
RGBrgb(44, 88, 171)
HSLhsl(219, 59%, 42%)
HSVhsv(219, 74%, 67%)
CMYKcmyk(74.3%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.65, 14.43, -48.92)
CIE-LCHlch(38.65, 51.00, 286.44°)
OKLaboklab(47.59% -0.0206 -0.1404)
OKLCHoklch(47.59% 0.142 261.7)
XYZxyz(11.8765, 10.4539, 39.9121)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58AB #AB7F2C
analogous
#2C97AB #2C58AB #402CAB
triadic
#2C58AB #AB2C58 #58AB2C
tetradic
#2C58AB #AB2C97 #AB7F2C #2CAB40
square
#2C58AB #AB2C97 #AB7F2C #2CAB40
split-complementary
#2C58AB #AB402C #97AB2C
monochromatic
#13264A #1F3F7A #2C58AB #4575CF #7699DC

Accessibility & contrast

On white

6.79
#2C58AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2C58AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58AB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58AB#FFFFFF#000000##FFFFFF
##2C58AB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#0156A9
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c58ab;
/* rgb */ color: rgb(44, 88, 171);
/* oklch */ color: oklch(47.6% 0.142 261.7);
Tailwind
colors: {
  custom: {
    50: '#7786c4',
    500: '#2c58ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c58ab;
$custom-light: #7786c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58ab",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 219.213,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47586,
    "c": 0.14193,
    "h": 261.7
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#2C58AB
secondary
#C3A66F
accent
#AC46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C58AB

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

Preview Lab → · Contrast checker → · Palette generator →

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