#2D599D#2D599D

#2D599D is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.121 H 258.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2D599D
RGBrgb(45, 89, 157)
HSLhsl(216, 55%, 40%)
HSVhsv(216, 71%, 62%)
CMYKcmyk(71.3%, 43.3%, 0%, 38.4%)
CIE-LABlab(38.09, 8.59, -41.47)
CIE-LCHlch(38.09, 42.35, 281.70°)
OKLaboklab(46.88% -0.0233 -0.1185)
OKLCHoklch(46.88% 0.121 258.9)
XYZxyz(10.7382, 10.1358, 33.2822)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D599D #9D712D
analogous
#2D919D #2D599D #392D9D
triadic
#2D599D #9D2D59 #599D2D
tetradic
#2D599D #9D2D91 #9D712D #2D9D39
square
#2D599D #9D2D91 #9D712D #2D9D39
split-complementary
#2D599D #9D392D #919D2D
monochromatic
#12233E #1F3E6D #2D599D #3F75C8 #6F97D6

Accessibility & contrast

On white

6.94
#2D599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2D599D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D599D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D599D#FFFFFF#000000##FFFFFF
##2D599D1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA0
Deuteranopia (green-blind)
#25559C
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d599d;
/* rgb */ color: rgb(45, 89, 157);
/* oklch */ color: oklch(46.9% 0.121 258.9);
Tailwind
colors: {
  custom: {
    50: '#7487ba',
    500: '#2d599d',
    950: '#000000',
  },
}
SCSS
$custom: #2d599d;
$custom-light: #7487ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d599d",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 216.429,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.12076,
    "h": 258.9
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#2D599D
secondary
#BD9C69
accent
#A449DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D599D

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

Preview Lab → · Contrast checker → · Palette generator →

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