#2558B2#2558B2

#2558B2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.154 H 260.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2558B2
RGBrgb(37, 88, 178)
HSLhsl(218, 66%, 42%)
HSVhsv(218, 79%, 70%)
CMYKcmyk(79.2%, 50.6%, 0%, 30.2%)
CIE-LABlab(38.87, 16.28, -52.70)
CIE-LCHlch(38.87, 55.16, 287.17°)
OKLaboklab(47.84% -0.0245 -0.1517)
OKLCHoklch(47.84% 0.154 260.8)
XYZxyz(12.2856, 10.5857, 43.5066)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558B2 #B27F25
analogous
#259EB2 #2558B2 #3925B2
triadic
#2558B2 #B22558 #58B225
tetradic
#2558B2 #B2259E #B27F25 #25B239
square
#2558B2 #B2259E #B27F25 #25B239
split-complementary
#2558B2 #B23925 #9EB225
monochromatic
#10264D #1A3F7F #2558B2 #3D75D7 #7099E1

Accessibility & contrast

On white

6.74
#2558B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2558B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2558B2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558B2#FFFFFF#000000##FFFFFF
##2558B21.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2558b2;
/* rgb */ color: rgb(37, 88, 178);
/* oklch */ color: oklch(47.8% 0.154 260.8);
Tailwind
colors: {
  custom: {
    50: '#7686ca',
    500: '#2558b2',
    950: '#000000',
  },
}
SCSS
$custom: #2558b2;
$custom-light: #7686ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2558b2",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 218.298,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.15363,
    "h": 260.8
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#2558B2
secondary
#C8A66B
accent
#AB3FE9
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2558B2

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

Preview Lab → · Contrast checker → · Palette generator →

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