#2558A6#2558A6

#2558A6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.137 H 258.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2558A6
RGBrgb(37, 88, 166)
HSLhsl(216, 64%, 40%)
HSVhsv(216, 78%, 65%)
CMYKcmyk(77.7%, 47%, 0%, 34.9%)
CIE-LABlab(38.07, 11.60, -46.90)
CIE-LCHlch(38.07, 48.31, 283.89°)
OKLaboklab(46.96% -0.0264 -0.1346)
OKLCHoklch(46.96% 0.137 258.9)
XYZxyz(11.1331, 10.1247, 37.4365)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2558A6 #A67325
analogous
#2599A6 #2558A6 #3225A6
triadic
#2558A6 #A62558 #58A625
tetradic
#2558A6 #A62599 #A67325 #25A632
square
#2558A6 #A62599 #A67325 #25A632
split-complementary
#2558A6 #A63225 #99A625
monochromatic
#0F2342 #1A3D74 #2558A6 #3674D2 #6896DD

Accessibility & contrast

On white

6.94
#2558A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2558A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2558A6#FFFFFF#000000##FFFFFF
##2558A61.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A9
Deuteranopia (green-blind)
#0D54A4
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2558a6;
/* rgb */ color: rgb(37, 88, 166);
/* oklch */ color: oklch(47.0% 0.137 258.9);
Tailwind
colors: {
  custom: {
    50: '#7386c1',
    500: '#2558a6',
    950: '#000000',
  },
}
SCSS
$custom: #2558a6;
$custom-light: #7386c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2558a6",
  "rgb": {
    "r": 37,
    "g": 88,
    "b": 166
  },
  "hsl": {
    "h": 216.279,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.13714,
    "h": 258.9
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#2558A6
secondary
#C39D64
accent
#A541E7
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2558A6

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

Preview Lab → · Contrast checker → · Palette generator →

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