#2058AC#2058AC

#2058AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.147 H 258.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2058AC
RGBrgb(32, 88, 172)
HSLhsl(216, 69%, 40%)
HSVhsv(216, 81%, 67%)
CMYKcmyk(81.4%, 48.8%, 0%, 32.5%)
CIE-LABlab(38.31, 13.41, -50.07)
CIE-LCHlch(38.31, 51.83, 284.99°)
OKLaboklab(47.24% -0.0285 -0.144)
OKLCHoklch(47.24% 0.147 258.8)
XYZxyz(11.5291, 10.2637, 40.3952)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2058AC #AC7420
analogous
#209EAC #2058AC #2E20AC
triadic
#2058AC #AC2058 #58AC20
tetradic
#2058AC #AC209E #AC7420 #20AC2E
square
#2058AC #AC209E #AC7420 #20AC2E
split-complementary
#2058AC #AC2E20 #9EAC20
monochromatic
#0D2345 #163E78 #2058AC #3174D9 #6497E2

Accessibility & contrast

On white

6.88
#2058AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2058AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2058AC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2058AC#FFFFFF#000000##FFFFFF
##2058AC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2058ac;
/* rgb */ color: rgb(32, 88, 172);
/* oklch */ color: oklch(47.2% 0.147 258.8);
Tailwind
colors: {
  custom: {
    50: '#7386c5',
    500: '#2058ac',
    950: '#000000',
  },
}
SCSS
$custom: #2058ac;
$custom-light: #7386c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2058ac",
  "rgb": {
    "r": 32,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 216,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.14677,
    "h": 258.8
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#2058AC
secondary
#C79E60
accent
#A53CEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2058AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2058AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva