#2D59BB#2D59BB

#2D59BB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.162 H 263.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2D59BB
RGBrgb(45, 89, 187)
HSLhsl(221, 61%, 45%)
HSVhsv(221, 76%, 73%)
CMYKcmyk(75.9%, 52.4%, 0%, 26.7%)
CIE-LABlab(40.06, 20.00, -56.04)
CIE-LCHlch(40.06, 59.51, 289.64°)
OKLaboklab(49.03% -0.0186 -0.1614)
OKLCHoklch(49.03% 0.162 263.4)
XYZxyz(13.6210, 11.2890, 48.4652)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59BB #BB8F2D
analogous
#2DA0BB #2D59BB #482DBB
triadic
#2D59BB #BB2D59 #59BB2D
tetradic
#2D59BB #BB2DA0 #BB8F2D #2DBB48
square
#2D59BB #BB2DA0 #BB8F2D #2DBB48
split-complementary
#2D59BB #BB482D #A0BB2D
monochromatic
#152A58 #21428A #2D59BB #5079D5 #829FE1

Accessibility & contrast

On white

6.45
#2D59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2D59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59BB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59BB#FFFFFF#000000##FFFFFF
##2D59BB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BE
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d59bb;
/* rgb */ color: rgb(45, 89, 187);
/* oklch */ color: oklch(49.0% 0.162 263.4);
Tailwind
colors: {
  custom: {
    50: '#7a87d0',
    500: '#2d59bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d59bb;
$custom-light: #7a87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59bb",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 221.408,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49029,
    "c": 0.16243,
    "h": 263.4
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#2D59BB
secondary
#CAB17A
accent
#B243E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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