#2D59A6#2D59A6

#2D59A6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.133 H 260.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2D59A6
RGBrgb(45, 89, 166)
HSLhsl(218, 57%, 41%)
HSVhsv(218, 73%, 65%)
CMYKcmyk(72.9%, 46.4%, 0%, 34.9%)
CIE-LABlab(38.65, 12.01, -45.95)
CIE-LCHlch(38.65, 47.49, 284.64°)
OKLaboklab(47.49% -0.0215 -0.1316)
OKLCHoklch(47.49% 0.133 260.7)
XYZxyz(11.5350, 10.4546, 37.4790)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59A6 #A67A2D
analogous
#2D96A6 #2D59A6 #3E2DA6
triadic
#2D59A6 #A62D59 #59A62D
tetradic
#2D59A6 #A62D96 #A67A2D #2DA63E
square
#2D59A6 #A62D96 #A67A2D #2DA63E
split-complementary
#2D59A6 #A63E2D #96A62D
monochromatic
#132546 #203F76 #2D59A6 #4476CC #7499D9

Accessibility & contrast

On white

6.79
#2D59A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2D59A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59A6
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59A6#FFFFFF#000000##FFFFFF
##2D59A61.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A9
Deuteranopia (green-blind)
#1756A4
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d59a6;
/* rgb */ color: rgb(45, 89, 166);
/* oklch */ color: oklch(47.5% 0.133 260.7);
Tailwind
colors: {
  custom: {
    50: '#7687c1',
    500: '#2d59a6',
    950: '#000000',
  },
}
SCSS
$custom: #2d59a6;
$custom-light: #7687c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59a6",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 166
  },
  "hsl": {
    "h": 218.182,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47493,
    "c": 0.1334,
    "h": 260.7
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#2D59A6
secondary
#C1A36E
accent
#A947E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2D59A6

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

Preview Lab → · Contrast checker → · Palette generator →

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