#2559B1#2559B1

#2559B1 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.151 H 260.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2559B1
RGBrgb(37, 89, 177)
HSLhsl(218, 65%, 42%)
HSVhsv(218, 79%, 69%)
CMYKcmyk(79.1%, 49.7%, 0%, 30.6%)
CIE-LABlab(39.09, 15.23, -51.76)
CIE-LCHlch(39.09, 53.96, 286.40°)
OKLaboklab(47.99% -0.0255 -0.1489)
OKLCHoklch(47.99% 0.151 260.3)
XYZxyz(12.2683, 10.7110, 43.0073)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559B1 #B17D25
analogous
#259FB1 #2559B1 #3725B1
triadic
#2559B1 #B12559 #59B125
tetradic
#2559B1 #B1259F #B17D25 #25B137
square
#2559B1 #B1259F #B17D25 #25B137
split-complementary
#2559B1 #B13725 #9FB125
monochromatic
#10264C #1A407E #2559B1 #3D76D6 #6F9AE1

Accessibility & contrast

On white

6.68
#2559B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2559B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559B1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559B1#FFFFFF#000000##FFFFFF
##2559B11.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B4
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2559b1;
/* rgb */ color: rgb(37, 89, 177);
/* oklch */ color: oklch(48.0% 0.151 260.3);
Tailwind
colors: {
  custom: {
    50: '#7587c9',
    500: '#2559b1',
    950: '#000000',
  },
}
SCSS
$custom: #2559b1;
$custom-light: #7587c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2559b1",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 177
  },
  "hsl": {
    "h": 217.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47987,
    "c": 0.15104,
    "h": 260.3
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#2559B1
secondary
#C8A56A
accent
#AA3FE8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2559B1

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

Preview Lab → · Contrast checker → · Palette generator →

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