#2D58AB#2D58AB

#2D58AB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.142 H 261.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2D58AB
RGBrgb(45, 88, 171)
HSLhsl(220, 58%, 42%)
HSVhsv(220, 74%, 67%)
CMYKcmyk(73.7%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.68, 14.57, -48.85)
CIE-LCHlch(38.68, 50.98, 286.60°)
OKLaboklab(47.63% -0.0198 -0.1402)
OKLCHoklch(47.63% 0.142 261.9)
XYZxyz(11.9200, 10.4763, 39.9141)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58AB #AB802D
analogous
#2D97AB #2D58AB #412DAB
triadic
#2D58AB #AB2D58 #58AB2D
tetradic
#2D58AB #AB2D97 #AB802D #2DAB41
square
#2D58AB #AB2D97 #AB802D #2DAB41
split-complementary
#2D58AB #AB412D #97AB2D
monochromatic
#14264A #203F7B #2D58AB #4775CE #7799DB

Accessibility & contrast

On white

6.78
#2D58AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2D58AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58AB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58AB#FFFFFF#000000##FFFFFF
##2D58AB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AE
Deuteranopia (green-blind)
#0356A9
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d58ab;
/* rgb */ color: rgb(45, 88, 171);
/* oklch */ color: oklch(47.6% 0.142 261.9);
Tailwind
colors: {
  custom: {
    50: '#7786c4',
    500: '#2d58ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d58ab;
$custom-light: #7786c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58ab",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 219.524,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47626,
    "c": 0.14162,
    "h": 261.9
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#2D58AB
secondary
#C3A771
accent
#AD46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D58AB

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

Preview Lab → · Contrast checker → · Palette generator →

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