#2D599E#2D599E

#2D599E is a mid, vivid blue. Relative luminance 0.102; OKLCH L 46.9% C 0.122 H 259.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2D599E
RGBrgb(45, 89, 158)
HSLhsl(217, 56%, 40%)
HSVhsv(217, 72%, 62%)
CMYKcmyk(71.5%, 43.7%, 0%, 38%)
CIE-LABlab(38.15, 8.97, -41.98)
CIE-LCHlch(38.15, 42.92, 282.06°)
OKLaboklab(46.95% -0.0231 -0.12)
OKLCHoklch(46.95% 0.122 259.1)
XYZxyz(10.8239, 10.1701, 33.7337)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D599E #9E722D
analogous
#2D929E #2D599E #392D9E
triadic
#2D599E #9E2D59 #599E2D
tetradic
#2D599E #9E2D92 #9E722D #2D9E39
square
#2D599E #9E2D92 #9E722D #2D9E39
split-complementary
#2D599E #9E392D #929E2D
monochromatic
#12233F #1F3E6E #2D599E #4075C9 #6F97D6

Accessibility & contrast

On white

6.92
#2D599E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D599E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D599E#FFFFFF#000000##FFFFFF
##2D599E1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA1
Deuteranopia (green-blind)
#24559D
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d599e;
/* rgb */ color: rgb(45, 89, 158);
/* oklch */ color: oklch(46.9% 0.122 259.1);
Tailwind
colors: {
  custom: {
    50: '#7487bb',
    500: '#2d599e',
    950: '#000000',
  },
}
SCSS
$custom: #2d599e;
$custom-light: #7487bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d599e",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 158
  },
  "hsl": {
    "h": 216.637,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46946,
    "c": 0.12217,
    "h": 259.1
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#2D599E
secondary
#BD9D69
accent
#A549DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D599E

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

Preview Lab → · Contrast checker → · Palette generator →

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