#2D59B8#2D59B8

#2D59B8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.158 H 263.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2D59B8
RGBrgb(45, 89, 184)
HSLhsl(221, 61%, 45%)
HSVhsv(221, 76%, 72%)
CMYKcmyk(75.5%, 51.6%, 0%, 27.8%)
CIE-LABlab(39.85, 18.86, -54.63)
CIE-LCHlch(39.85, 57.79, 289.05°)
OKLaboklab(48.8% -0.019 -0.1572)
OKLCHoklch(48.8% 0.158 263.1)
XYZxyz(13.3032, 11.1619, 46.7914)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D59B8 #B88C2D
analogous
#2D9FB8 #2D59B8 #462DB8
triadic
#2D59B8 #B82D59 #59B82D
tetradic
#2D59B8 #B82D9F #B88C2D #2DB846
square
#2D59B8 #B82D9F #B88C2D #2DB846
split-complementary
#2D59B8 #B8462D #9FB82D
monochromatic
#152956 #214187 #2D59B8 #4E79D4 #809EE0

Accessibility & contrast

On white

6.50
#2D59B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2D59B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D59B8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D59B8#FFFFFF#000000##FFFFFF
##2D59B81.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B65BB
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d59b8;
/* rgb */ color: rgb(45, 89, 184);
/* oklch */ color: oklch(48.8% 0.158 263.1);
Tailwind
colors: {
  custom: {
    50: '#7a87ce',
    500: '#2d59b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d59b8;
$custom-light: #7a87ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d59b8",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 184
  },
  "hsl": {
    "h": 221.007,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48801,
    "c": 0.15834,
    "h": 263.1
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#2D59B8
secondary
#C9AF78
accent
#B144E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D59B8

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

Preview Lab → · Contrast checker → · Palette generator →

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