#2C58C7#2C58C7

#2C58C7 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.180 H 264.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2C58C7
RGBrgb(44, 88, 199)
HSLhsl(223, 64%, 48%)
HSVhsv(223, 78%, 78%)
CMYKcmyk(77.9%, 55.8%, 0%, 22%)
CIE-LABlab(40.63, 25.09, -62.11)
CIE-LCHlch(40.63, 66.98, 292.00°)
OKLaboklab(49.73% -0.0176 -0.1792)
OKLCHoklch(49.73% 0.18 264.4)
XYZxyz(14.8336, 11.6367, 55.4861)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58C7 #C79B2C
analogous
#2CA5C7 #2C58C7 #4E2CC7
triadic
#2C58C7 #C72C58 #58C72C
tetradic
#2C58C7 #C72CA5 #C79B2C #2CC74E
square
#2C58C7 #C72CA5 #C79B2C #2CC74E
split-complementary
#2C58C7 #C74E2C #A5C72C
monochromatic
#162C63 #214295 #2C58C7 #567CDA #89A3E5

Accessibility & contrast

On white

6.31
#2C58C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2C58C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58C7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58C7#FFFFFF#000000##FFFFFF
##2C58C71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c58c7;
/* rgb */ color: rgb(44, 88, 199);
/* oklch */ color: oklch(49.7% 0.180 264.4);
Tailwind
colors: {
  custom: {
    50: '#7d86d9',
    500: '#2c58c7',
    950: '#000000',
  },
}
SCSS
$custom: #2c58c7;
$custom-light: #7d86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58c7",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 222.968,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.18009,
    "h": 264.4
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#2C58C7
secondary
#CFB880
accent
#B841E7
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2C58C7

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

Preview Lab → · Contrast checker → · Palette generator →

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