#2D59C2#2D59C2

#2D59C2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.172 H 264.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2D59C2
RGBrgb(45, 89, 194)
HSLhsl(222, 62%, 47%)
HSVhsv(222, 77%, 76%)
CMYKcmyk(76.8%, 54.1%, 0%, 23.9%)
CIE-LABlab(40.57, 22.66, -59.31)
CIE-LCHlch(40.57, 63.49, 290.91°)
OKLaboklab(49.57% -0.018 -0.171)
OKLCHoklch(49.57% 0.172 264)
XYZxyz(14.3887, 11.5961, 52.5084)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59C2 #C2962D
analogous
#2DA4C2 #2D59C2 #4C2DC2
triadic
#2D59C2 #C22D59 #59C22D
tetradic
#2D59C2 #C22DA4 #C2962D #2DC24C
square
#2D59C2 #C22DA4 #C2962D #2DC24C
split-complementary
#2D59C2 #C24C2D #A4C22D
monochromatic
#162B5F #214290 #2D59C2 #557BD7 #86A2E3

Accessibility & contrast

On white

6.33
#2D59C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2D59C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59C2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59C2#FFFFFF#000000##FFFFFF
##2D59C21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d59c2;
/* rgb */ color: rgb(45, 89, 194);
/* oklch */ color: oklch(49.6% 0.172 264.0);
Tailwind
colors: {
  custom: {
    50: '#7c87d5',
    500: '#2d59c2',
    950: '#000000',
  },
}
SCSS
$custom: #2d59c2;
$custom-light: #7c87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59c2",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 222.282,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49571,
    "c": 0.1719,
    "h": 264
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#2D59C2
secondary
#CDB57E
accent
#B542E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D59C2

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

Preview Lab → · Contrast checker → · Palette generator →

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