#2558A4#2558A4

#2558A4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.8% C 0.134 H 258.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2558A4
RGBrgb(37, 88, 164)
HSLhsl(216, 63%, 39%)
HSVhsv(216, 77%, 64%)
CMYKcmyk(77.4%, 46.3%, 0%, 35.7%)
CIE-LABlab(37.94, 10.82, -45.91)
CIE-LCHlch(37.94, 47.17, 283.26°)
OKLaboklab(46.82% -0.0268 -0.1317)
OKLCHoklch(46.82% 0.134 258.5)
XYZxyz(10.9511, 10.0518, 36.4778)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558A4 #A47125
analogous
#2597A4 #2558A4 #3225A4
triadic
#2558A4 #A42558 #58A425
tetradic
#2558A4 #A42597 #A47125 #25A432
square
#2558A4 #A42597 #A47125 #25A432
split-complementary
#2558A4 #A43225 #97A425
monochromatic
#0E2240 #1A3D72 #2558A4 #3574D1 #6796DD

Accessibility & contrast

On white

6.98
#2558A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2558A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2558A4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558A4#FFFFFF#000000##FFFFFF
##2558A41.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA7
Deuteranopia (green-blind)
#1254A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2558a4;
/* rgb */ color: rgb(37, 88, 164);
/* oklch */ color: oklch(46.8% 0.134 258.5);
Tailwind
colors: {
  custom: {
    50: '#7386bf',
    500: '#2558a4',
    950: '#000000',
  },
}
SCSS
$custom: #2558a4;
$custom-light: #7386bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2558a4",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 215.906,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46822,
    "c": 0.13438,
    "h": 258.5
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#2558A4
secondary
#C29C62
accent
#A442E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2558A4

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

Preview Lab → · Contrast checker → · Palette generator →

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