#2D58AC#2D58AC

#2D58AC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.143 H 262.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2D58AC
RGBrgb(45, 88, 172)
HSLhsl(220, 59%, 43%)
HSVhsv(220, 74%, 67%)
CMYKcmyk(73.8%, 48.8%, 0%, 32.5%)
CIE-LABlab(38.75, 14.95, -49.34)
CIE-LCHlch(38.75, 51.55, 286.85°)
OKLaboklab(47.7% -0.0197 -0.1416)
OKLCHoklch(47.7% 0.143 262.1)
XYZxyz(12.0156, 10.5146, 40.4180)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58AC #AC812D
analogous
#2D97AC #2D58AC #422DAC
triadic
#2D58AC #AC2D58 #58AC2D
tetradic
#2D58AC #AC2D97 #AC812D #2DAC42
square
#2D58AC #AC2D97 #AC812D #2DAC42
split-complementary
#2D58AC #AC422D #97AC2D
monochromatic
#14264B #203F7B #2D58AC #4775CF #789ADC

Accessibility & contrast

On white

6.77
#2D58AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D58AC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58AC#FFFFFF#000000##FFFFFF
##2D58AC1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d58ac;
/* rgb */ color: rgb(45, 88, 172);
/* oklch */ color: oklch(47.7% 0.143 262.1);
Tailwind
colors: {
  custom: {
    50: '#7786c5',
    500: '#2d58ac',
    950: '#000000',
  },
}
SCSS
$custom: #2d58ac;
$custom-light: #7786c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58ac",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 219.685,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47699,
    "c": 0.14301,
    "h": 262.1
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D58AC

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

Preview Lab → · Contrast checker → · Palette generator →

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