#2058AB#2058AB

#2058AB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.2% C 0.145 H 258.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2058AB
RGBrgb(32, 88, 171)
HSLhsl(216, 68%, 40%)
HSVhsv(216, 81%, 67%)
CMYKcmyk(81.3%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.24, 13.01, -49.59)
CIE-LCHlch(38.24, 51.26, 284.70°)
OKLaboklab(47.17% -0.0287 -0.1426)
OKLCHoklch(47.17% 0.145 258.6)
XYZxyz(11.4334, 10.2254, 39.8913)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2058AB #AB7320
analogous
#209EAB #2058AB #2D20AB
triadic
#2058AB #AB2058 #58AB20
tetradic
#2058AB #AB209E #AB7320 #20AB2D
square
#2058AB #AB209E #AB7320 #20AB2D
split-complementary
#2058AB #AB2D20 #9EAB20
monochromatic
#0D2344 #163D77 #2058AB #3074D8 #6396E2

Accessibility & contrast

On white

6.90
#2058AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2058AB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2058AB#FFFFFF#000000##FFFFFF
##2058AB1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2058ab;
/* rgb */ color: rgb(32, 88, 171);
/* oklch */ color: oklch(47.2% 0.145 258.6);
Tailwind
colors: {
  custom: {
    50: '#7386c5',
    500: '#2058ab',
    950: '#000000',
  },
}
SCSS
$custom: #2058ab;
$custom-light: #7386c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2058ab",
  "rgb": {
    "r": 32,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 215.827,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47165,
    "c": 0.14541,
    "h": 258.6
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2058AB

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

Preview Lab → · Contrast checker → · Palette generator →

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