#2D58A9#2D58A9

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

Color values

HEX#2D58A9
RGBrgb(45, 88, 169)
HSLhsl(219, 58%, 42%)
HSVhsv(219, 73%, 66%)
CMYKcmyk(73.4%, 47.9%, 0%, 33.7%)
CIE-LABlab(38.55, 13.80, -47.88)
CIE-LCHlch(38.55, 49.83, 286.08°)
OKLaboklab(47.48% -0.0202 -0.1373)
OKLCHoklch(47.48% 0.139 261.6)
XYZxyz(11.7308, 10.4006, 38.9177)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58A9 #A97E2D
analogous
#2D96A9 #2D58A9 #402DA9
triadic
#2D58A9 #A92D58 #58A92D
tetradic
#2D58A9 #A92D96 #A97E2D #2DA940
square
#2D58A9 #A92D96 #A97E2D #2DA940
split-complementary
#2D58A9 #A9402D #96A92D
monochromatic
#132648 #203F79 #2D58A9 #4675CE #7699DA

Accessibility & contrast

On white

6.82
#2D58A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D58A9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58A9#FFFFFF#000000##FFFFFF
##2D58A91.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C61AC
Deuteranopia (green-blind)
#0A55A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d58a9;
/* rgb */ color: rgb(45, 88, 169);
/* oklch */ color: oklch(47.5% 0.139 261.6);
Tailwind
colors: {
  custom: {
    50: '#7686c3',
    500: '#2d58a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d58a9;
$custom-light: #7686c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58a9",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 169
  },
  "hsl": {
    "h": 219.194,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47483,
    "c": 0.13882,
    "h": 261.6
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#2D58A9
secondary
#C2A66F
accent
#AC47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2D58A9

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

Preview Lab → · Contrast checker → · Palette generator →

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