#2559BA#2559BA

#2559BA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.163 H 261.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2559BA
RGBrgb(37, 89, 186)
HSLhsl(219, 67%, 44%)
HSVhsv(219, 80%, 73%)
CMYKcmyk(80.1%, 52.2%, 0%, 27.1%)
CIE-LABlab(39.72, 18.73, -56.03)
CIE-LCHlch(39.72, 59.08, 288.49°)
OKLaboklab(48.67% -0.0243 -0.1614)
OKLCHoklch(48.67% 0.163 261.4)
XYZxyz(13.1951, 11.0817, 47.8884)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559BA #BA8625
analogous
#25A3BA #2559BA #3B25BA
triadic
#2559BA #BA2559 #59BA25
tetradic
#2559BA #BA25A3 #BA8625 #25BA3B
square
#2559BA #BA25A3 #BA8625 #25BA3B
split-complementary
#2559BA #BA3B25 #A3BA25
monochromatic
#112854 #1B4187 #2559BA #4377DA #769CE4

Accessibility & contrast

On white

6.53
#2559BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2559BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559BA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559BA#FFFFFF#000000##FFFFFF
##2559BA1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BD
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2559ba;
/* rgb */ color: rgb(37, 89, 186);
/* oklch */ color: oklch(48.7% 0.163 261.4);
Tailwind
colors: {
  custom: {
    50: '#7887cf',
    500: '#2559ba',
    950: '#000000',
  },
}
SCSS
$custom: #2559ba;
$custom-light: #7887cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2559ba",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 219.06,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48667,
    "c": 0.16326,
    "h": 261.4
  },
  "luminance": 0.11083
}

Semantic roles & 50–950 ramp

primary
#2559BA
secondary
#CBAB70
accent
#AE3EEA
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2559BA

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

Preview Lab → · Contrast checker → · Palette generator →

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