#2559A8#2559A8

#2559A8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.3% C 0.139 H 258.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2559A8
RGBrgb(37, 89, 168)
HSLhsl(216, 64%, 40%)
HSVhsv(216, 78%, 66%)
CMYKcmyk(78%, 47%, 0%, 34.1%)
CIE-LABlab(38.49, 11.72, -47.41)
CIE-LCHlch(38.49, 48.83, 283.89°)
OKLaboklab(47.33% -0.0269 -0.1361)
OKLCHoklch(47.33% 0.139 258.8)
XYZxyz(11.4006, 10.3639, 38.4378)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559A8 #A87425
analogous
#259AA8 #2559A8 #3225A8
triadic
#2559A8 #A82559 #59A825
tetradic
#2559A8 #A8259A #A87425 #25A832
square
#2559A8 #A8259A #A87425 #25A832
split-complementary
#2559A8 #A83225 #9AA825
monochromatic
#0F2444 #1A3E76 #2559A8 #3775D3 #6998DE

Accessibility & contrast

On white

6.83
#2559A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2559A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559A8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559A8#FFFFFF#000000##FFFFFF
##2559A81.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E61AB
Deuteranopia (green-blind)
#0B55A6
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2559a8;
/* rgb */ color: rgb(37, 89, 168);
/* oklch */ color: oklch(47.3% 0.139 258.8);
Tailwind
colors: {
  custom: {
    50: '#7387c2',
    500: '#2559a8',
    950: '#000000',
  },
}
SCSS
$custom: #2559a8;
$custom-light: #7387c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2559a8",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 168
  },
  "hsl": {
    "h": 216.183,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47332,
    "c": 0.13869,
    "h": 258.8
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#2559A8
secondary
#C49E65
accent
#A541E7
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2559A8

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

Preview Lab → · Contrast checker → · Palette generator →

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