#2558A5#2558A5

#2558A5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.136 H 258.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2558A5
RGBrgb(37, 88, 165)
HSLhsl(216, 63%, 40%)
HSVhsv(216, 78%, 65%)
CMYKcmyk(77.6%, 46.7%, 0%, 35.3%)
CIE-LABlab(38.00, 11.21, -46.41)
CIE-LCHlch(38.00, 47.74, 283.58°)
OKLaboklab(46.89% -0.0266 -0.1331)
OKLCHoklch(46.89% 0.136 258.7)
XYZxyz(11.0417, 10.0881, 36.9553)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558A5 #A57225
analogous
#2598A5 #2558A5 #3225A5
triadic
#2558A5 #A52558 #58A525
tetradic
#2558A5 #A52598 #A57225 #25A532
square
#2558A5 #A52598 #A57225 #25A532
split-complementary
#2558A5 #A53225 #98A525
monochromatic
#0F2341 #1A3D73 #2558A5 #3574D2 #6796DD

Accessibility & contrast

On white

6.96
#2558A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2558A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2558A5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558A5#FFFFFF#000000##FFFFFF
##2558A51.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#1054A3
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2558a5;
/* rgb */ color: rgb(37, 88, 165);
/* oklch */ color: oklch(46.9% 0.136 258.7);
Tailwind
colors: {
  custom: {
    50: '#7386c0',
    500: '#2558a5',
    950: '#000000',
  },
}
SCSS
$custom: #2558a5;
$custom-light: #7386c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2558a5",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 216.094,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46893,
    "c": 0.13577,
    "h": 258.7
  },
  "luminance": 0.10089
}

Semantic roles & 50–950 ramp

primary
#2558A5
secondary
#C39D63
accent
#A541E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2558A5

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

Preview Lab → · Contrast checker → · Palette generator →

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