#2D59CA#2D59CA

#2D59CA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.183 H 264.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2D59CA
RGBrgb(45, 89, 202)
HSLhsl(223, 64%, 48%)
HSVhsv(223, 78%, 79%)
CMYKcmyk(77.7%, 55.9%, 0%, 20.8%)
CIE-LABlab(41.16, 25.68, -62.98)
CIE-LCHlch(41.16, 68.01, 292.18°)
OKLaboklab(50.21% -0.0174 -0.1818)
OKLCHoklch(50.21% 0.183 264.5)
XYZxyz(15.3115, 11.9652, 57.3682)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59CA #CA9E2D
analogous
#2DA7CA #2D59CA #4F2DCA
triadic
#2D59CA #CA2D59 #59CA2D
tetradic
#2D59CA #CA2DA7 #CA9E2D #2DCA4F
square
#2D59CA #CA2DA7 #CA9E2D #2DCA4F
split-complementary
#2D59CA #CA4F2D #A7CA2D
monochromatic
#172D66 #224398 #2D59CA #5A7EDA #8CA5E5

Accessibility & contrast

On white

6.19
#2D59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2D59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59CA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59CA#FFFFFF#000000##FFFFFF
##2D59CA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d59ca;
/* rgb */ color: rgb(45, 89, 202);
/* oklch */ color: oklch(50.2% 0.183 264.5);
Tailwind
colors: {
  custom: {
    50: '#7e87db',
    500: '#2d59ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d59ca;
$custom-light: #7e87db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59ca",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 223.185,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.18259,
    "h": 264.5
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#2D59CA
secondary
#CFBA83
accent
#B841E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2D59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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