#2559AC#2559AC

#2559AC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.6% C 0.144 H 259.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2559AC
RGBrgb(37, 89, 172)
HSLhsl(217, 65%, 41%)
HSVhsv(217, 78%, 67%)
CMYKcmyk(78.5%, 48.3%, 0%, 32.5%)
CIE-LABlab(38.75, 13.28, -49.35)
CIE-LCHlch(38.75, 51.11, 285.07°)
OKLaboklab(47.62% -0.0262 -0.1418)
OKLCHoklch(47.62% 0.144 259.5)
XYZxyz(11.7790, 10.5153, 40.4306)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2559AC #AC7825
analogous
#259CAC #2559AC #3425AC
triadic
#2559AC #AC2559 #59AC25
tetradic
#2559AC #AC259C #AC7825 #25AC34
square
#2559AC #AC259C #AC7825 #25AC34
split-complementary
#2559AC #AC3425 #9CAC25
monochromatic
#0F2547 #1A3F7A #2559AC #3A75D5 #6C98DF

Accessibility & contrast

On white

6.77
#2559AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2559AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2559AC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2559AC#FFFFFF#000000##FFFFFF
##2559AC1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2559ac;
/* rgb */ color: rgb(37, 89, 172);
/* oklch */ color: oklch(47.6% 0.144 259.5);
Tailwind
colors: {
  custom: {
    50: '#7487c5',
    500: '#2559ac',
    950: '#000000',
  },
}
SCSS
$custom: #2559ac;
$custom-light: #7487c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2559ac",
  "rgb": {
    "r": 37,
    "g": 89,
    "b": 172
  },
  "hsl": {
    "h": 216.889,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4762,
    "c": 0.14419,
    "h": 259.5
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#2559AC
secondary
#C6A167
accent
#A740E8
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2559AC

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

Preview Lab → · Contrast checker → · Palette generator →

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