#2C58A4#2C58A4

#2C58A4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.132 H 260.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2C58A4
RGBrgb(44, 88, 164)
HSLhsl(218, 58%, 41%)
HSVhsv(218, 73%, 64%)
CMYKcmyk(73.2%, 46.3%, 0%, 35.7%)
CIE-LABlab(38.19, 11.76, -45.49)
CIE-LCHlch(38.19, 46.99, 284.49°)
OKLaboklab(47.09% -0.0218 -0.1303)
OKLCHoklch(47.09% 0.132 260.5)
XYZxyz(11.2269, 10.1940, 36.4907)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58A4 #A4782C
analogous
#2C94A4 #2C58A4 #3C2CA4
triadic
#2C58A4 #A42C58 #58A42C
tetradic
#2C58A4 #A42C94 #A4782C #2CA43C
square
#2C58A4 #A42C94 #A4782C #2CA43C
split-complementary
#2C58A4 #A43C2C #94A42C
monochromatic
#122443 #1F3E74 #2C58A4 #4174CC #7197D9

Accessibility & contrast

On white

6.91
#2C58A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2C58A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58A4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58A4#FFFFFF#000000##FFFFFF
##2C58A41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#1755A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c58a4;
/* rgb */ color: rgb(44, 88, 164);
/* oklch */ color: oklch(47.1% 0.132 260.5);
Tailwind
colors: {
  custom: {
    50: '#7586bf',
    500: '#2c58a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c58a4;
$custom-light: #7586bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58a4",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 218,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47088,
    "c": 0.13215,
    "h": 260.5
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

primary
#2C58A4
secondary
#C0A16B
accent
#A847E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C58A4

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

Preview Lab → · Contrast checker → · Palette generator →

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