#2D59C3#2D59C3

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

Color values

HEX#2D59C3
RGBrgb(45, 89, 195)
HSLhsl(222, 63%, 47%)
HSVhsv(222, 77%, 76%)
CMYKcmyk(76.9%, 54.4%, 0%, 23.5%)
CIE-LABlab(40.64, 23.04, -59.77)
CIE-LCHlch(40.64, 64.06, 291.08°)
OKLaboklab(49.65% -0.0179 -0.1723)
OKLCHoklch(49.65% 0.173 264.1)
XYZxyz(14.5014, 11.6411, 53.1019)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59C3 #C3972D
analogous
#2DA4C3 #2D59C3 #4C2DC3
triadic
#2D59C3 #C32D59 #59C32D
tetradic
#2D59C3 #C32DA4 #C3972D #2DC34C
square
#2D59C3 #C32DA4 #C3972D #2DC34C
split-complementary
#2D59C3 #C34C2D #A4C32D
monochromatic
#162C60 #224291 #2D59C3 #557CD8 #87A2E3

Accessibility & contrast

On white

6.31
#2D59C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2D59C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59C3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59C3#FFFFFF#000000##FFFFFF
##2D59C31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d59c3;
/* rgb */ color: rgb(45, 89, 195);
/* oklch */ color: oklch(49.6% 0.173 264.1);
Tailwind
colors: {
  custom: {
    50: '#7c87d6',
    500: '#2d59c3',
    950: '#000000',
  },
}
SCSS
$custom: #2d59c3;
$custom-light: #7c87d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59c3",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 195
  },
  "hsl": {
    "h": 222.4,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.17325,
    "h": 264.1
  },
  "luminance": 0.11643
}

Semantic roles & 50–950 ramp

primary
#2D59C3
secondary
#CDB67F
accent
#B642E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D59C3

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

Preview Lab → · Contrast checker → · Palette generator →

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