#2558B1#2558B1

#2558B1 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.152 H 260.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2558B1
RGBrgb(37, 88, 177)
HSLhsl(218, 65%, 42%)
HSVhsv(218, 79%, 69%)
CMYKcmyk(79.1%, 50.3%, 0%, 30.6%)
CIE-LABlab(38.80, 15.89, -52.22)
CIE-LCHlch(38.80, 54.59, 286.93°)
OKLaboklab(47.77% -0.0247 -0.1502)
OKLCHoklch(47.77% 0.152 260.7)
XYZxyz(12.1856, 10.5457, 42.9797)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558B1 #B17E25
analogous
#259EB1 #2558B1 #3825B1
triadic
#2558B1 #B12558 #58B125
tetradic
#2558B1 #B1259E #B17E25 #25B138
square
#2558B1 #B1259E #B17E25 #25B138
split-complementary
#2558B1 #B13825 #9EB125
monochromatic
#10264C #1A3F7E #2558B1 #3D75D6 #6F99E1

Accessibility & contrast

On white

6.75
#2558B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2558B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2558B1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558B1#FFFFFF#000000##FFFFFF
##2558B11.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2162B4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2558b1;
/* rgb */ color: rgb(37, 88, 177);
/* oklch */ color: oklch(47.8% 0.152 260.7);
Tailwind
colors: {
  custom: {
    50: '#7686c9',
    500: '#2558b1',
    950: '#000000',
  },
}
SCSS
$custom: #2558b1;
$custom-light: #7686c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2558b1",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 177
  },
  "hsl": {
    "h": 218.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.15226,
    "h": 260.7
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#2558B1
secondary
#C8A66A
accent
#AB3FE8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2558B1

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

Preview Lab → · Contrast checker → · Palette generator →

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