#2C58A8#2C58A8

#2C58A8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.138 H 261.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2C58A8
RGBrgb(44, 88, 168)
HSLhsl(219, 58%, 42%)
HSVhsv(219, 74%, 66%)
CMYKcmyk(73.8%, 47.6%, 0%, 34.1%)
CIE-LABlab(38.45, 13.28, -47.46)
CIE-LCHlch(38.45, 49.28, 285.64°)
OKLaboklab(47.37% -0.0211 -0.1361)
OKLCHoklch(47.37% 0.138 261.2)
XYZxyz(11.5938, 10.3408, 38.4232)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58A8 #A87C2C
analogous
#2C96A8 #2C58A8 #3E2CA8
triadic
#2C58A8 #A82C58 #58A82C
tetradic
#2C58A8 #A82C96 #A87C2C #2CA83E
square
#2C58A8 #A82C96 #A87C2C #2CA83E
split-complementary
#2C58A8 #A83E2C #96A82C
monochromatic
#132547 #1F3F78 #2C58A8 #4374CE #7498DB

Accessibility & contrast

On white

6.84
#2C58A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2C58A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58A8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58A8#FFFFFF#000000##FFFFFF
##2C58A81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D61AB
Deuteranopia (green-blind)
#0D55A6
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c58a8;
/* rgb */ color: rgb(44, 88, 168);
/* oklch */ color: oklch(47.4% 0.138 261.2);
Tailwind
colors: {
  custom: {
    50: '#7686c2',
    500: '#2c58a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c58a8;
$custom-light: #7686c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58a8",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 168
  },
  "hsl": {
    "h": 218.71,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.13775,
    "h": 261.2
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#2C58A8
secondary
#C2A46E
accent
#AA46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C58A8

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

Preview Lab → · Contrast checker → · Palette generator →

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