#2D59B7#2D59B7

#2D59B7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.157 H 263.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2D59B7
RGBrgb(45, 89, 183)
HSLhsl(221, 61%, 45%)
HSVhsv(221, 75%, 72%)
CMYKcmyk(75.4%, 51.4%, 0%, 28.2%)
CIE-LABlab(39.78, 18.48, -54.16)
CIE-LCHlch(39.78, 57.22, 288.84°)
OKLaboklab(48.73% -0.0191 -0.1558)
OKLCHoklch(48.73% 0.157 263)
XYZxyz(13.1988, 11.1201, 46.2413)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59B7 #B78B2D
analogous
#2D9EB7 #2D59B7 #462DB7
triadic
#2D59B7 #B72D59 #59B72D
tetradic
#2D59B7 #B72D9E #B78B2D #2DB746
square
#2D59B7 #B72D9E #B78B2D #2DB746
split-complementary
#2D59B7 #B7462D #9EB72D
monochromatic
#152955 #214186 #2D59B7 #4E78D3 #7F9EDF

Accessibility & contrast

On white

6.51
#2D59B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2D59B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59B7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59B7#FFFFFF#000000##FFFFFF
##2D59B71.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D64BA
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d59b7;
/* rgb */ color: rgb(45, 89, 183);
/* oklch */ color: oklch(48.7% 0.157 263.0);
Tailwind
colors: {
  custom: {
    50: '#7987cd',
    500: '#2d59b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d59b7;
$custom-light: #7987cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59b7",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 183
  },
  "hsl": {
    "h": 220.87,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.15698,
    "h": 263
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#2D59B7
secondary
#C8AE78
accent
#B144E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D59B7

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

Preview Lab → · Contrast checker → · Palette generator →

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