#2C58BA#2C58BA

#2C58BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.163 H 263.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2C58BA
RGBrgb(44, 88, 186)
HSLhsl(221, 62%, 45%)
HSVhsv(221, 76%, 73%)
CMYKcmyk(76.3%, 52.7%, 0%, 27.1%)
CIE-LABlab(39.68, 20.16, -56.08)
CIE-LCHlch(39.68, 59.60, 289.77°)
OKLaboklab(48.7% -0.0187 -0.1615)
OKLCHoklch(48.7% 0.163 263.4)
XYZxyz(13.3882, 11.0586, 47.8738)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58BA #BA8E2C
analogous
#2C9FBA #2C58BA #472CBA
triadic
#2C58BA #BA2C58 #58BA2C
tetradic
#2C58BA #BA2C9F #BA8E2C #2CBA47
square
#2C58BA #BA2C9F #BA8E2C #2CBA47
split-complementary
#2C58BA #BA472C #9FBA2C
monochromatic
#152957 #204189 #2C58BA #4E78D5 #809EE1

Accessibility & contrast

On white

6.54
#2C58BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2C58BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58BA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58BA#FFFFFF#000000##FFFFFF
##2C58BA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1264BD
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c58ba;
/* rgb */ color: rgb(44, 88, 186);
/* oklch */ color: oklch(48.7% 0.163 263.4);
Tailwind
colors: {
  custom: {
    50: '#7a86cf',
    500: '#2c58ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c58ba;
$custom-light: #7a86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58ba",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 221.408,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48704,
    "c": 0.16259,
    "h": 263.4
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

primary
#2C58BA
secondary
#CAB078
accent
#B343E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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