#2558AB#2558AB

#2558AB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.144 H 259.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2558AB
RGBrgb(37, 88, 171)
HSLhsl(217, 64%, 41%)
HSVhsv(217, 78%, 67%)
CMYKcmyk(78.4%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.40, 13.55, -49.33)
CIE-LCHlch(38.40, 51.16, 285.36°)
OKLaboklab(47.33% -0.0256 -0.1417)
OKLCHoklch(47.33% 0.144 259.8)
XYZxyz(11.6007, 10.3117, 39.8991)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558AB #AB7825
analogous
#259BAB #2558AB #3525AB
triadic
#2558AB #AB2558 #58AB25
tetradic
#2558AB #AB259B #AB7825 #25AB35
square
#2558AB #AB259B #AB7825 #25AB35
split-complementary
#2558AB #AB3525 #9BAB25
monochromatic
#0F2446 #1A3E79 #2558AB #3974D4 #6B97DF

Accessibility & contrast

On white

6.86
#2558AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2558AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2558AB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558AB#FFFFFF#000000##FFFFFF
##2558AB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2558ab;
/* rgb */ color: rgb(37, 88, 171);
/* oklch */ color: oklch(47.3% 0.144 259.8);
Tailwind
colors: {
  custom: {
    50: '#7486c4',
    500: '#2558ab',
    950: '#000000',
  },
}
SCSS
$custom: #2558ab;
$custom-light: #7486c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2558ab",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 217.164,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.14404,
    "h": 259.8
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#2558AB
secondary
#C5A167
accent
#A840E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2558AB

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

Preview Lab → · Contrast checker → · Palette generator →

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