#2558A1#2558A1

#2558A1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.130 H 257.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2558A1
RGBrgb(37, 88, 161)
HSLhsl(215, 63%, 39%)
HSVhsv(215, 77%, 63%)
CMYKcmyk(77%, 45.3%, 0%, 36.9%)
CIE-LABlab(37.74, 9.65, -44.43)
CIE-LCHlch(37.74, 45.47, 282.25°)
OKLaboklab(46.61% -0.0273 -0.1273)
OKLCHoklch(46.61% 0.13 257.9)
XYZxyz(10.6833, 9.9447, 35.0678)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558A1 #A16E25
analogous
#2596A1 #2558A1 #3025A1
triadic
#2558A1 #A12558 #58A125
tetradic
#2558A1 #A12596 #A16E25 #25A130
square
#2558A1 #A12596 #A16E25 #25A130
split-complementary
#2558A1 #A13025 #96A125
monochromatic
#0E223D #1A3D6F #2558A1 #3374D0 #6596DC

Accessibility & contrast

On white

7.03
#2558A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2558A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2558A1
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2558A1#FFFFFF#000000##FFFFFF
##2558A11.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA4
Deuteranopia (green-blind)
#1954A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2558a1;
/* rgb */ color: rgb(37, 88, 161);
/* oklch */ color: oklch(46.6% 0.130 257.9);
Tailwind
colors: {
  custom: {
    50: '#7286bd',
    500: '#2558a1',
    950: '#000000',
  },
}
SCSS
$custom: #2558a1;
$custom-light: #7286bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2558a1",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 161
  },
  "hsl": {
    "h": 215.323,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46612,
    "c": 0.13023,
    "h": 257.9
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#2558A1
secondary
#C19961
accent
#A242E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2558A1

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

Preview Lab → · Contrast checker → · Palette generator →

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