#2559A6#2559A6

#2559A6 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.136 H 258.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2559A6
RGBrgb(37, 89, 166)
HSLhsl(216, 64%, 40%)
HSVhsv(216, 78%, 65%)
CMYKcmyk(77.7%, 46.4%, 0%, 34.9%)
CIE-LABlab(38.36, 10.94, -46.43)
CIE-LCHlch(38.36, 47.70, 283.26°)
OKLaboklab(47.19% -0.0272 -0.1332)
OKLCHoklch(47.19% 0.136 258.4)
XYZxyz(11.2157, 10.2899, 37.4640)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559A6 #A67225
analogous
#259AA6 #2559A6 #3225A6
triadic
#2559A6 #A62559 #59A625
tetradic
#2559A6 #A6259A #A67225 #25A632
square
#2559A6 #A6259A #A67225 #25A632
split-complementary
#2559A6 #A63225 #9AA625
monochromatic
#0F2342 #1A3E74 #2559A6 #3675D2 #6897DD

Accessibility & contrast

On white

6.87
#2559A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2559A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2559A6#FFFFFF#000000##FFFFFF
##2559A61.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)
#3061A9
Deuteranopia (green-blind)
#1255A4
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2559a6;
/* rgb */ color: rgb(37, 89, 166);
/* oklch */ color: oklch(47.2% 0.136 258.4);
Tailwind
colors: {
  custom: {
    50: '#7387c1',
    500: '#2559a6',
    950: '#000000',
  },
}
SCSS
$custom: #2559a6;
$custom-light: #7387c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2559a6",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 166
  },
  "hsl": {
    "h": 215.814,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4719,
    "c": 0.13594,
    "h": 258.4
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2559A6

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

Preview Lab → · Contrast checker → · Palette generator →

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