#2D599C#2D599C

#2D599C is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.8% C 0.119 H 258.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2D599C
RGBrgb(45, 89, 156)
HSLhsl(216, 55%, 39%)
HSVhsv(216, 71%, 61%)
CMYKcmyk(71.2%, 42.9%, 0%, 38.8%)
CIE-LABlab(38.02, 8.21, -40.97)
CIE-LCHlch(38.02, 41.79, 281.33°)
OKLaboklab(46.81% -0.0235 -0.117)
OKLCHoklch(46.81% 0.119 258.7)
XYZxyz(10.6531, 10.1018, 32.8345)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D599C #9C702D
analogous
#2D919C #2D599C #382D9C
triadic
#2D599C #9C2D59 #599C2D
tetradic
#2D599C #9C2D91 #9C702D #2D9C38
square
#2D599C #9C2D91 #9C702D #2D9C38
split-complementary
#2D599C #9C382D #919C2D
monochromatic
#12233D #1F3E6D #2D599C #3F75C8 #6E97D5

Accessibility & contrast

On white

6.95
#2D599C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2D599C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D599C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D599C#FFFFFF#000000##FFFFFF
##2D599C1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9F
Deuteranopia (green-blind)
#26559B
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d599c;
/* rgb */ color: rgb(45, 89, 156);
/* oklch */ color: oklch(46.8% 0.119 258.7);
Tailwind
colors: {
  custom: {
    50: '#7487b9',
    500: '#2d599c',
    950: '#000000',
  },
}
SCSS
$custom: #2d599c;
$custom-light: #7487b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d599c",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 156
  },
  "hsl": {
    "h": 216.216,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46812,
    "c": 0.11935,
    "h": 258.7
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#2D599C
secondary
#BC9B68
accent
#A349DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D599C

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

Preview Lab → · Contrast checker → · Palette generator →

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