#2D58A4#2D58A4

#2D58A4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.132 H 260.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2D58A4
RGBrgb(45, 88, 164)
HSLhsl(218, 57%, 41%)
HSVhsv(218, 73%, 64%)
CMYKcmyk(72.6%, 46.3%, 0%, 35.7%)
CIE-LABlab(38.23, 11.90, -45.43)
CIE-LCHlch(38.23, 46.96, 284.68°)
OKLaboklab(47.13% -0.021 -0.1301)
OKLCHoklch(47.13% 0.132 260.8)
XYZxyz(11.2703, 10.2165, 36.4928)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58A4 #A4792D
analogous
#2D93A4 #2D58A4 #3D2DA4
triadic
#2D58A4 #A42D58 #58A42D
tetradic
#2D58A4 #A42D93 #A4792D #2DA43D
square
#2D58A4 #A42D93 #A4792D #2DA43D
split-complementary
#2D58A4 #A43D2D #93A42D
monochromatic
#132444 #203E74 #2D58A4 #4374CB #7398D9

Accessibility & contrast

On white

6.90
#2D58A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2D58A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D58A4
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58A4#FFFFFF#000000##FFFFFF
##2D58A41.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#1855A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d58a4;
/* rgb */ color: rgb(45, 88, 164);
/* oklch */ color: oklch(47.1% 0.132 260.8);
Tailwind
colors: {
  custom: {
    50: '#7586bf',
    500: '#2d58a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d58a4;
$custom-light: #7586bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58a4",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 218.319,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4713,
    "c": 0.13182,
    "h": 260.8
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#2D58A4
secondary
#C0A26D
accent
#A948E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D58A4

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

Preview Lab → · Contrast checker → · Palette generator →

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