#2D599F#2D599F

#2D599F is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.124 H 259.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2D599F
RGBrgb(45, 89, 159)
HSLhsl(217, 56%, 40%)
HSVhsv(217, 72%, 62%)
CMYKcmyk(71.7%, 44%, 0%, 37.6%)
CIE-LABlab(38.21, 9.35, -42.48)
CIE-LCHlch(38.21, 43.49, 282.41°)
OKLaboklab(47.01% -0.0229 -0.1214)
OKLCHoklch(47.01% 0.124 259.3)
XYZxyz(10.9103, 10.2047, 34.1889)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D599F #9F732D
analogous
#2D929F #2D599F #3A2D9F
triadic
#2D599F #9F2D59 #599F2D
tetradic
#2D599F #9F2D92 #9F732D #2D9F3A
square
#2D599F #9F2D92 #9F732D #2D9F3A
split-complementary
#2D599F #9F3A2D #929F2D
monochromatic
#122440 #203E6F #2D599F #4075C9 #7098D6

Accessibility & contrast

On white

6.91
#2D599F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2D599F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D599F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D599F#FFFFFF#000000##FFFFFF
##2D599F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A2
Deuteranopia (green-blind)
#23559E
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d599f;
/* rgb */ color: rgb(45, 89, 159);
/* oklch */ color: oklch(47.0% 0.124 259.3);
Tailwind
colors: {
  custom: {
    50: '#7487bc',
    500: '#2d599f',
    950: '#000000',
  },
}
SCSS
$custom: #2d599f;
$custom-light: #7487bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d599f",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 159
  },
  "hsl": {
    "h": 216.842,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.12357,
    "h": 259.3
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#2D599F
secondary
#BE9D6A
accent
#A549DF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D599F

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

Preview Lab → · Contrast checker → · Palette generator →

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