#2D58A3#2D58A3

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

Color values

HEX#2D58A3
RGBrgb(45, 88, 163)
HSLhsl(218, 57%, 41%)
HSVhsv(218, 72%, 64%)
CMYKcmyk(72.4%, 46%, 0%, 36.1%)
CIE-LABlab(38.16, 11.52, -44.93)
CIE-LCHlch(38.16, 46.39, 284.38°)
OKLaboklab(47.06% -0.0212 -0.1287)
OKLCHoklch(47.06% 0.13 260.7)
XYZxyz(11.1804, 10.1805, 36.0190)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D58A3 #A3782D
analogous
#2D93A3 #2D58A3 #3D2DA3
triadic
#2D58A3 #A32D58 #58A32D
tetradic
#2D58A3 #A32D93 #A3782D #2DA33D
square
#2D58A3 #A32D93 #A3782D #2DA33D
split-complementary
#2D58A3 #A33D2D #93A32D
monochromatic
#132443 #203E73 #2D58A3 #4274CB #7297D8

Accessibility & contrast

On white

6.92
#2D58A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D58A3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D58A3#FFFFFF#000000##FFFFFF
##2D58A31.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#1A55A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d58a3;
/* rgb */ color: rgb(45, 88, 163);
/* oklch */ color: oklch(47.1% 0.130 260.7);
Tailwind
colors: {
  custom: {
    50: '#7586bf',
    500: '#2d58a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d58a3;
$custom-light: #7586bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d58a3",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 163
  },
  "hsl": {
    "h": 218.136,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.13042,
    "h": 260.7
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D58A3

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

Preview Lab → · Contrast checker → · Palette generator →

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