#2558BA#2558BA

#2558BA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.164 H 261.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2558BA
RGBrgb(37, 88, 186)
HSLhsl(219, 67%, 44%)
HSVhsv(219, 80%, 73%)
CMYKcmyk(80.1%, 52.7%, 0%, 27.1%)
CIE-LABlab(39.44, 19.39, -56.48)
CIE-LCHlch(39.44, 59.72, 288.95°)
OKLaboklab(48.46% -0.0236 -0.1628)
OKLCHoklch(48.46% 0.164 261.8)
XYZxyz(13.1124, 10.9164, 47.8608)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558BA #BA8725
analogous
#25A2BA #2558BA #3C25BA
triadic
#2558BA #BA2558 #58BA25
tetradic
#2558BA #BA25A2 #BA8725 #25BA3C
square
#2558BA #BA25A2 #BA8725 #25BA3C
split-complementary
#2558BA #BA3C25 #A2BA25
monochromatic
#112854 #1B4087 #2558BA #4376DA #769BE4

Accessibility & contrast

On white

6.60
#2558BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2558BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2558BA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558BA#FFFFFF#000000##FFFFFF
##2558BA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F64BD
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2558ba;
/* rgb */ color: rgb(37, 88, 186);
/* oklch */ color: oklch(48.5% 0.164 261.8);
Tailwind
colors: {
  custom: {
    50: '#7886cf',
    500: '#2558ba',
    950: '#000000',
  },
}
SCSS
$custom: #2558ba;
$custom-light: #7886cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2558ba",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 219.463,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48455,
    "c": 0.16449,
    "h": 261.8
  },
  "luminance": 0.10918
}

Semantic roles & 50–950 ramp

primary
#2558BA
secondary
#CBAC70
accent
#AF3EEA
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2558BA

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

Preview Lab → · Contrast checker → · Palette generator →

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