#2D59A3#2D59A3

#2D59A3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.129 H 260.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2D59A3
RGBrgb(45, 89, 163)
HSLhsl(218, 57%, 41%)
HSVhsv(218, 72%, 64%)
CMYKcmyk(72.4%, 45.4%, 0%, 36.1%)
CIE-LABlab(38.46, 10.86, -44.47)
CIE-LCHlch(38.46, 45.77, 283.73°)
OKLaboklab(47.29% -0.0221 -0.1273)
OKLCHoklch(47.29% 0.129 260.2)
XYZxyz(11.2630, 10.3458, 36.0466)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59A3 #A3772D
analogous
#2D94A3 #2D59A3 #3C2DA3
triadic
#2D59A3 #A32D59 #59A32D
tetradic
#2D59A3 #A32D94 #A3772D #2DA33C
square
#2D59A3 #A32D94 #A3772D #2DA33C
split-complementary
#2D59A3 #A33C2D #94A32D
monochromatic
#132543 #203F73 #2D59A3 #4275CB #7298D8

Accessibility & contrast

On white

6.84
#2D59A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2D59A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59A3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59A3#FFFFFF#000000##FFFFFF
##2D59A31.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#1D55A1
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d59a3;
/* rgb */ color: rgb(45, 89, 163);
/* oklch */ color: oklch(47.3% 0.129 260.2);
Tailwind
colors: {
  custom: {
    50: '#7587bf',
    500: '#2d59a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d59a3;
$custom-light: #7587bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59a3",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 163
  },
  "hsl": {
    "h": 217.627,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.12919,
    "h": 260.2
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#2D59A3
secondary
#C0A16C
accent
#A748E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D59A3

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

Preview Lab → · Contrast checker → · Palette generator →

#2D59A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva