#2558A8#2558A8

#2558A8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.140 H 259.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2558A8
RGBrgb(37, 88, 168)
HSLhsl(217, 64%, 40%)
HSVhsv(217, 78%, 66%)
CMYKcmyk(78%, 47.6%, 0%, 34.1%)
CIE-LABlab(38.20, 12.38, -47.87)
CIE-LCHlch(38.20, 49.45, 284.50°)
OKLaboklab(47.11% -0.0261 -0.1375)
OKLCHoklch(47.11% 0.14 259.3)
XYZxyz(11.3180, 10.1986, 38.4102)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558A8 #A87525
analogous
#2599A8 #2558A8 #3325A8
triadic
#2558A8 #A82558 #58A825
tetradic
#2558A8 #A82599 #A87525 #25A833
square
#2558A8 #A82599 #A87525 #25A833
split-complementary
#2558A8 #A83325 #99A825
monochromatic
#0F2344 #1A3E76 #2558A8 #3774D3 #6997DE

Accessibility & contrast

On white

6.91
#2558A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2558A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2558A8
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558A8#FFFFFF#000000##FFFFFF
##2558A81.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#0554A6
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2558a8;
/* rgb */ color: rgb(37, 88, 168);
/* oklch */ color: oklch(47.1% 0.140 259.3);
Tailwind
colors: {
  custom: {
    50: '#7386c2',
    500: '#2558a8',
    950: '#000000',
  },
}
SCSS
$custom: #2558a8;
$custom-light: #7386c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2558a8",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 168
  },
  "hsl": {
    "h": 216.641,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47108,
    "c": 0.13991,
    "h": 259.3
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#2558A8
secondary
#C49F65
accent
#A641E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2558A8

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

Preview Lab → · Contrast checker → · Palette generator →

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