#2558A2#2558A2

#2558A2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.132 H 258.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2558A2
RGBrgb(37, 88, 162)
HSLhsl(216, 63%, 39%)
HSVhsv(216, 77%, 64%)
CMYKcmyk(77.2%, 45.7%, 0%, 36.5%)
CIE-LABlab(37.81, 10.04, -44.93)
CIE-LCHlch(37.81, 46.03, 282.60°)
OKLaboklab(46.68% -0.0271 -0.1288)
OKLCHoklch(46.68% 0.132 258.1)
XYZxyz(10.7719, 9.9802, 35.5341)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558A2 #A26F25
analogous
#2597A2 #2558A2 #3125A2
triadic
#2558A2 #A22558 #58A225
tetradic
#2558A2 #A22597 #A26F25 #25A231
square
#2558A2 #A22597 #A26F25 #25A231
split-complementary
#2558A2 #A23125 #97A225
monochromatic
#0E223E #1A3D70 #2558A2 #3474D1 #6596DC

Accessibility & contrast

On white

7.01
#2558A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2558A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2558A2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558A2#FFFFFF#000000##FFFFFF
##2558A21.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#1754A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2558a2;
/* rgb */ color: rgb(37, 88, 162);
/* oklch */ color: oklch(46.7% 0.132 258.1);
Tailwind
colors: {
  custom: {
    50: '#7286be',
    500: '#2558a2',
    950: '#000000',
  },
}
SCSS
$custom: #2558a2;
$custom-light: #7286be;
$custom-dark: #000000;
JSON
{
  "hex": "#2558a2",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 215.52,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.13162,
    "h": 258.1
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#2558A2
secondary
#C29A61
accent
#A342E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2558A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2558A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva