#2D579C#2D579C

#2D579C is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.122 H 259.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2D579C
RGBrgb(45, 87, 156)
HSLhsl(217, 55%, 39%)
HSVhsv(217, 71%, 61%)
CMYKcmyk(71.2%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.43, 9.52, -41.92)
CIE-LCHlch(37.43, 42.98, 282.79°)
OKLaboklab(46.36% -0.0215 -0.1198)
OKLCHoklch(46.36% 0.122 259.8)
XYZxyz(10.4890, 9.7735, 32.7797)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D579C #9C722D
analogous
#2D8F9C #2D579C #3A2D9C
triadic
#2D579C #9C2D57 #579C2D
tetradic
#2D579C #9C2D8F #9C722D #2D9C3A
square
#2D579C #9C2D8F #9C722D #2D9C3A
split-complementary
#2D579C #9C3A2D #8F9C2D
monochromatic
#12223D #1F3D6D #2D579C #3F72C8 #6E95D5

Accessibility & contrast

On white

7.11
#2D579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2D579C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D579C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D579C#FFFFFF#000000##FFFFFF
##2D579C1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355E9F
Deuteranopia (green-blind)
#22539B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d579c;
/* rgb */ color: rgb(45, 87, 156);
/* oklch */ color: oklch(46.4% 0.122 259.8);
Tailwind
colors: {
  custom: {
    50: '#7485ba',
    500: '#2d579c',
    950: '#000000',
  },
}
SCSS
$custom: #2d579c;
$custom-light: #7485ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d579c",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 217.297,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46355,
    "c": 0.12176,
    "h": 259.8
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#2D579C
secondary
#BC9D68
accent
#A649DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D579C

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

Preview Lab → · Contrast checker → · Palette generator →

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