#2C58AA#2C58AA

#2C58AA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.141 H 261.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2C58AA
RGBrgb(44, 88, 170)
HSLhsl(219, 59%, 42%)
HSVhsv(219, 74%, 67%)
CMYKcmyk(74.1%, 48.2%, 0%, 33.3%)
CIE-LABlab(38.58, 14.05, -48.43)
CIE-LCHlch(38.58, 50.43, 286.17°)
OKLaboklab(47.51% -0.0208 -0.139)
OKLCHoklch(47.51% 0.141 261.5)
XYZxyz(11.7815, 10.4159, 39.4120)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58AA #AA7E2C
analogous
#2C97AA #2C58AA #3F2CAA
triadic
#2C58AA #AA2C58 #58AA2C
tetradic
#2C58AA #AA2C97 #AA7E2C #2CAA3F
square
#2C58AA #AA2C97 #AA7E2C #2CAA3F
split-complementary
#2C58AA #AA3F2C #97AA2C
monochromatic
#132649 #1F3F79 #2C58AA #4475CF #7599DB

Accessibility & contrast

On white

6.81
#2C58AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2C58AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58AA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58AA#FFFFFF#000000##FFFFFF
##2C58AA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#0555A8
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c58aa;
/* rgb */ color: rgb(44, 88, 170);
/* oklch */ color: oklch(47.5% 0.141 261.5);
Tailwind
colors: {
  custom: {
    50: '#7686c4',
    500: '#2c58aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c58aa;
$custom-light: #7686c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58aa",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 219.048,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47514,
    "c": 0.14054,
    "h": 261.5
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C58AA

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

Preview Lab → · Contrast checker → · Palette generator →

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