#2D59C1#2D59C1

#2D59C1 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.171 H 263.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2D59C1
RGBrgb(45, 89, 193)
HSLhsl(222, 62%, 47%)
HSVhsv(222, 77%, 76%)
CMYKcmyk(76.7%, 53.9%, 0%, 24.3%)
CIE-LABlab(40.49, 22.28, -58.85)
CIE-LCHlch(40.49, 62.92, 290.74°)
OKLaboklab(49.49% -0.0181 -0.1696)
OKLCHoklch(49.49% 0.171 263.9)
XYZxyz(14.2768, 11.5513, 51.9189)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59C1 #C1952D
analogous
#2DA3C1 #2D59C1 #4B2DC1
triadic
#2D59C1 #C12D59 #59C12D
tetradic
#2D59C1 #C12DA3 #C1952D #2DC14B
square
#2D59C1 #C12DA3 #C1952D #2DC14B
split-complementary
#2D59C1 #C14B2D #A3C12D
monochromatic
#162B5E #21428F #2D59C1 #547BD7 #86A1E3

Accessibility & contrast

On white

6.34
#2D59C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2D59C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59C1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59C1#FFFFFF#000000##FFFFFF
##2D59C11.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d59c1;
/* rgb */ color: rgb(45, 89, 193);
/* oklch */ color: oklch(49.5% 0.171 263.9);
Tailwind
colors: {
  custom: {
    50: '#7c87d4',
    500: '#2d59c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d59c1;
$custom-light: #7c87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59c1",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 193
  },
  "hsl": {
    "h": 222.162,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49492,
    "c": 0.17056,
    "h": 263.9
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#2D59C1
secondary
#CCB57E
accent
#B543E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D59C1

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

Preview Lab → · Contrast checker → · Palette generator →

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