#2558AA#2558AA

#2558AA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.143 H 259.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2558AA
RGBrgb(37, 88, 170)
HSLhsl(217, 64%, 41%)
HSVhsv(217, 78%, 67%)
CMYKcmyk(78.2%, 48.2%, 0%, 33.3%)
CIE-LABlab(38.33, 13.16, -48.85)
CIE-LCHlch(38.33, 50.59, 285.08°)
OKLaboklab(47.25% -0.0257 -0.1403)
OKLCHoklch(47.25% 0.143 259.6)
XYZxyz(11.5057, 10.2737, 39.3990)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558AA #AA7725
analogous
#259BAA #2558AA #3425AA
triadic
#2558AA #AA2558 #58AA25
tetradic
#2558AA #AA259B #AA7725 #25AA34
square
#2558AA #AA259B #AA7725 #25AA34
split-complementary
#2558AA #AA3425 #9BAA25
monochromatic
#0F2445 #1A3E78 #2558AA #3874D4 #6B97DF

Accessibility & contrast

On white

6.87
#2558AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2558AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2558AA#FFFFFF#000000##FFFFFF
##2558AA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2558aa;
/* rgb */ color: rgb(37, 88, 170);
/* oklch */ color: oklch(47.3% 0.143 259.6);
Tailwind
colors: {
  custom: {
    50: '#7486c4',
    500: '#2558aa',
    950: '#000000',
  },
}
SCSS
$custom: #2558aa;
$custom-light: #7486c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2558aa",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 216.992,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.14266,
    "h": 259.6
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#2558AA
secondary
#C5A066
accent
#A741E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2558AA

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

Preview Lab → · Contrast checker → · Palette generator →

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