#2D59A4#2D59A4

#2D59A4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.131 H 260.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2D59A4
RGBrgb(45, 89, 164)
HSLhsl(218, 57%, 41%)
HSVhsv(218, 73%, 64%)
CMYKcmyk(72.6%, 45.7%, 0%, 35.7%)
CIE-LABlab(38.52, 11.24, -44.96)
CIE-LCHlch(38.52, 46.35, 284.04°)
OKLaboklab(47.35% -0.0219 -0.1287)
OKLCHoklch(47.35% 0.131 260.3)
XYZxyz(11.3530, 10.3818, 36.5203)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59A4 #A4782D
analogous
#2D94A4 #2D59A4 #3C2DA4
triadic
#2D59A4 #A42D59 #59A42D
tetradic
#2D59A4 #A42D94 #A4782D #2DA43C
square
#2D59A4 #A42D94 #A4782D #2DA43C
split-complementary
#2D59A4 #A43C2D #94A42D
monochromatic
#132544 #203F74 #2D59A4 #4375CB #7398D9

Accessibility & contrast

On white

6.83
#2D59A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2D59A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59A4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59A4#FFFFFF#000000##FFFFFF
##2D59A41.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#1B56A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d59a4;
/* rgb */ color: rgb(45, 89, 164);
/* oklch */ color: oklch(47.4% 0.131 260.3);
Tailwind
colors: {
  custom: {
    50: '#7587bf',
    500: '#2d59a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d59a4;
$custom-light: #7587bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59a4",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 164
  },
  "hsl": {
    "h": 217.815,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47354,
    "c": 0.1306,
    "h": 260.3
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#2D59A4
secondary
#C0A16D
accent
#A848E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D59A4

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

Preview Lab → · Contrast checker → · Palette generator →

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