#2C58C1#2C58C1

#2C58C1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.172 H 264.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2C58C1
RGBrgb(44, 88, 193)
HSLhsl(222, 63%, 46%)
HSVhsv(222, 77%, 76%)
CMYKcmyk(77.2%, 54.4%, 0%, 24.3%)
CIE-LABlab(40.19, 22.82, -59.35)
CIE-LCHlch(40.19, 63.58, 291.03°)
OKLaboklab(49.25% -0.0181 -0.1711)
OKLCHoklch(49.25% 0.172 264)
XYZxyz(14.1506, 11.3636, 51.8893)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58C1 #C1952C
analogous
#2CA3C1 #2C58C1 #4B2CC1
triadic
#2C58C1 #C12C58 #58C12C
tetradic
#2C58C1 #C12CA3 #C1952C #2CC14B
square
#2C58C1 #C12CA3 #C1952C #2CC14B
split-complementary
#2C58C1 #C14B2C #A3C12C
monochromatic
#152B5D #21418F #2C58C1 #537AD8 #84A0E3

Accessibility & contrast

On white

6.42
#2C58C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2C58C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58C1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58C1#FFFFFF#000000##FFFFFF
##2C58C11.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c58c1;
/* rgb */ color: rgb(44, 88, 193);
/* oklch */ color: oklch(49.2% 0.172 264.0);
Tailwind
colors: {
  custom: {
    50: '#7b86d4',
    500: '#2c58c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c58c1;
$custom-light: #7b86d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58c1",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 193
  },
  "hsl": {
    "h": 222.282,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.17206,
    "h": 264
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#2C58C1
secondary
#CCB57D
accent
#B542E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C58C1

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

Preview Lab → · Contrast checker → · Palette generator →

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