#2D59CC#2D59CC

#2D59CC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.185 H 264.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2D59CC
RGBrgb(45, 89, 204)
HSLhsl(223, 64%, 49%)
HSVhsv(223, 78%, 80%)
CMYKcmyk(77.9%, 56.4%, 0%, 20%)
CIE-LABlab(41.31, 26.43, -63.89)
CIE-LCHlch(41.31, 69.14, 292.47°)
OKLaboklab(50.37% -0.0173 -0.1844)
OKLCHoklch(50.37% 0.185 264.6)
XYZxyz(15.5498, 12.0605, 58.6234)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59CC #CCA02D
analogous
#2DA9CC #2D59CC #512DCC
triadic
#2D59CC #CC2D59 #59CC2D
tetradic
#2D59CC #CC2DA9 #CCA02D #2DCC51
square
#2D59CC #CC2DA9 #CCA02D #2DCC51
split-complementary
#2D59CC #CC512D #A9CC2D
monochromatic
#172D68 #22439A #2D59CC #5B7FDB #8DA6E6

Accessibility & contrast

On white

6.15
#2D59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2D59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59CC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59CC#FFFFFF#000000##FFFFFF
##2D59CC1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d59cc;
/* rgb */ color: rgb(45, 89, 204);
/* oklch */ color: oklch(50.4% 0.185 264.6);
Tailwind
colors: {
  custom: {
    50: '#7e87dc',
    500: '#2d59cc',
    950: '#000000',
  },
}
SCSS
$custom: #2d59cc;
$custom-light: #7e87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59cc",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 223.396,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50368,
    "c": 0.18524,
    "h": 264.6
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#2D59CC
secondary
#D0BB85
accent
#B941E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2D59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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