#2D59B4#2D59B4

#2D59B4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.5% C 0.153 H 262.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2D59B4
RGBrgb(45, 89, 180)
HSLhsl(220, 60%, 44%)
HSVhsv(220, 75%, 71%)
CMYKcmyk(75%, 50.6%, 0%, 29.4%)
CIE-LABlab(39.57, 17.34, -52.73)
CIE-LCHlch(39.57, 55.51, 288.20°)
OKLaboklab(48.5% -0.0195 -0.1516)
OKLCHoklch(48.5% 0.153 262.7)
XYZxyz(12.8898, 10.9965, 44.6144)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59B4 #B4882D
analogous
#2D9DB4 #2D59B4 #442DB4
triadic
#2D59B4 #B42D59 #59B42D
tetradic
#2D59B4 #B42D9D #B4882D #2DB444
square
#2D59B4 #B42D9D #B4882D #2DB444
split-complementary
#2D59B4 #B4442D #9DB42D
monochromatic
#152952 #214183 #2D59B4 #4C78D2 #7D9DDE

Accessibility & contrast

On white

6.56
#2D59B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2D59B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59B4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59B4#FFFFFF#000000##FFFFFF
##2D59B41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d59b4;
/* rgb */ color: rgb(45, 89, 180);
/* oklch */ color: oklch(48.5% 0.153 262.7);
Tailwind
colors: {
  custom: {
    50: '#7987cb',
    500: '#2d59b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d59b4;
$custom-light: #7987cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59b4",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 180
  },
  "hsl": {
    "h": 220.444,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.15285,
    "h": 262.7
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#2D59B4
secondary
#C7AD76
accent
#AF45E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D59B4

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

Preview Lab → · Contrast checker → · Palette generator →

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