#2559A4#2559A4

#2559A4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.133 H 258.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2559A4
RGBrgb(37, 89, 164)
HSLhsl(215, 63%, 39%)
HSVhsv(215, 77%, 64%)
CMYKcmyk(77.4%, 45.7%, 0%, 35.7%)
CIE-LABlab(38.23, 10.16, -45.44)
CIE-LCHlch(38.23, 46.56, 282.61°)
OKLaboklab(47.05% -0.0276 -0.1303)
OKLCHoklch(47.05% 0.133 258)
XYZxyz(11.0337, 10.2171, 36.5054)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559A4 #A47025
analogous
#2599A4 #2559A4 #3125A4
triadic
#2559A4 #A42559 #59A425
tetradic
#2559A4 #A42599 #A47025 #25A431
square
#2559A4 #A42599 #A47025 #25A431
split-complementary
#2559A4 #A43125 #99A425
monochromatic
#0E2340 #1A3E72 #2559A4 #3575D1 #6797DD

Accessibility & contrast

On white

6.90
#2559A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2559A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559A4
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559A4#FFFFFF#000000##FFFFFF
##2559A41.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#1655A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2559a4;
/* rgb */ color: rgb(37, 89, 164);
/* oklch */ color: oklch(47.0% 0.133 258.0);
Tailwind
colors: {
  custom: {
    50: '#7287bf',
    500: '#2559a4',
    950: '#000000',
  },
}
SCSS
$custom: #2559a4;
$custom-light: #7287bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2559a4",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 164
  },
  "hsl": {
    "h": 215.433,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.13318,
    "h": 258
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#2559A4
secondary
#C29B62
accent
#A342E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2559A4

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

Preview Lab → · Contrast checker → · Palette generator →

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