#2D59B2#2D59B2

#2D59B2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.150 H 262.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2D59B2
RGBrgb(45, 89, 178)
HSLhsl(220, 60%, 44%)
HSVhsv(220, 75%, 70%)
CMYKcmyk(74.7%, 50%, 0%, 30.2%)
CIE-LABlab(39.44, 16.58, -51.77)
CIE-LCHlch(39.44, 54.36, 287.76°)
OKLaboklab(48.35% -0.0197 -0.1488)
OKLCHoklch(48.35% 0.15 262.5)
XYZxyz(12.6876, 10.9156, 43.5491)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59B2 #B2862D
analogous
#2D9BB2 #2D59B2 #432DB2
triadic
#2D59B2 #B22D59 #59B22D
tetradic
#2D59B2 #B22D9B #B2862D #2DB243
square
#2D59B2 #B22D9B #B2862D #2DB243
split-complementary
#2D59B2 #B2432D #9BB22D
monochromatic
#142850 #214181 #2D59B2 #4B77D1 #7C9CDE

Accessibility & contrast

On white

6.60
#2D59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2D59B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59B2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59B2#FFFFFF#000000##FFFFFF
##2D59B21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d59b2;
/* rgb */ color: rgb(45, 89, 178);
/* oklch */ color: oklch(48.4% 0.150 262.5);
Tailwind
colors: {
  custom: {
    50: '#7887ca',
    500: '#2d59b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d59b2;
$custom-light: #7887ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59b2",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 220.15,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.15009,
    "h": 262.5
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#2D59B2
secondary
#C6AB75
accent
#AF45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D59B2

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

Preview Lab → · Contrast checker → · Palette generator →

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