#2D59C6#2D59C6

#2D59C6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.177 H 264.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2D59C6
RGBrgb(45, 89, 198)
HSLhsl(223, 63%, 48%)
HSVhsv(223, 77%, 78%)
CMYKcmyk(77.3%, 55.1%, 0%, 22.4%)
CIE-LABlab(40.86, 24.17, -61.15)
CIE-LCHlch(40.86, 65.76, 291.56°)
OKLaboklab(49.89% -0.0177 -0.1764)
OKLCHoklch(49.89% 0.177 264.3)
XYZxyz(14.8440, 11.7782, 54.9062)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59C6 #C69A2D
analogous
#2DA6C6 #2D59C6 #4D2DC6
triadic
#2D59C6 #C62D59 #59C62D
tetradic
#2D59C6 #C62DA6 #C69A2D #2DC64D
square
#2D59C6 #C62DA6 #C69A2D #2DC64D
split-complementary
#2D59C6 #C64D2D #A6C62D
monochromatic
#162C62 #224394 #2D59C6 #577DD9 #89A3E4

Accessibility & contrast

On white

6.26
#2D59C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2D59C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59C6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59C6#FFFFFF#000000##FFFFFF
##2D59C61.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#005AC4
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d59c6;
/* rgb */ color: rgb(45, 89, 198);
/* oklch */ color: oklch(49.9% 0.177 264.3);
Tailwind
colors: {
  custom: {
    50: '#7d87d8',
    500: '#2d59c6',
    950: '#000000',
  },
}
SCSS
$custom: #2d59c6;
$custom-light: #7d87d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59c6",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 198
  },
  "hsl": {
    "h": 222.745,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.17727,
    "h": 264.3
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#2D59C6
secondary
#CEB881
accent
#B742E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2D59C6

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

Preview Lab → · Contrast checker → · Palette generator →

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