#2559A5#2559A5

#2559A5 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.1% C 0.135 H 258.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2559A5
RGBrgb(37, 89, 165)
HSLhsl(216, 63%, 40%)
HSVhsv(216, 78%, 65%)
CMYKcmyk(77.6%, 46.1%, 0%, 35.3%)
CIE-LABlab(38.29, 10.55, -45.93)
CIE-LCHlch(38.29, 47.13, 282.94°)
OKLaboklab(47.12% -0.0274 -0.1317)
OKLCHoklch(47.12% 0.135 258.2)
XYZxyz(11.1244, 10.2534, 36.9828)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559A5 #A57125
analogous
#2599A5 #2559A5 #3125A5
triadic
#2559A5 #A52559 #59A525
tetradic
#2559A5 #A52599 #A57125 #25A531
square
#2559A5 #A52599 #A57125 #25A531
split-complementary
#2559A5 #A53125 #99A525
monochromatic
#0F2341 #1A3E73 #2559A5 #3575D2 #6797DD

Accessibility & contrast

On white

6.88
#2559A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2559A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559A5
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559A5#FFFFFF#000000##FFFFFF
##2559A51.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A8
Deuteranopia (green-blind)
#1455A3
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2559a5;
/* rgb */ color: rgb(37, 89, 165);
/* oklch */ color: oklch(47.1% 0.135 258.2);
Tailwind
colors: {
  custom: {
    50: '#7387c0',
    500: '#2559a5',
    950: '#000000',
  },
}
SCSS
$custom: #2559a5;
$custom-light: #7387c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2559a5",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 165
  },
  "hsl": {
    "h": 215.625,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47119,
    "c": 0.13456,
    "h": 258.2
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#2559A5
secondary
#C39C63
accent
#A341E6
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2559A5

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

Preview Lab → · Contrast checker → · Palette generator →

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