#2D579A#2D579A

#2D579A is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.2% C 0.119 H 259.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2D579A
RGBrgb(45, 87, 154)
HSLhsl(217, 55%, 39%)
HSVhsv(217, 71%, 60%)
CMYKcmyk(70.8%, 43.5%, 0%, 39.6%)
CIE-LABlab(37.31, 8.76, -40.91)
CIE-LCHlch(37.31, 41.84, 282.08°)
OKLaboklab(46.22% -0.0219 -0.1169)
OKLCHoklch(46.22% 0.119 259.4)
XYZxyz(10.3210, 9.7063, 31.8952)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D579A #9A702D
analogous
#2D8E9A #2D579A #3A2D9A
triadic
#2D579A #9A2D57 #579A2D
tetradic
#2D579A #9A2D8E #9A702D #2D9A3A
square
#2D579A #9A2D8E #9A702D #2D9A3A
split-complementary
#2D579A #9A3A2D #8E9A2D
monochromatic
#11213B #1F3C6B #2D579A #3E72C7 #6D95D4

Accessibility & contrast

On white

7.14
#2D579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2D579A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D579A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D579A#FFFFFF#000000##FFFFFF
##2D579A1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9D
Deuteranopia (green-blind)
#245399
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d579a;
/* rgb */ color: rgb(45, 87, 154);
/* oklch */ color: oklch(46.2% 0.119 259.4);
Tailwind
colors: {
  custom: {
    50: '#7385b8',
    500: '#2d579a',
    950: '#000000',
  },
}
SCSS
$custom: #2d579a;
$custom-light: #7385b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d579a",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 216.881,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.11892,
    "h": 259.4
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#2D579A
secondary
#BB9B67
accent
#A54ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D579A

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

Preview Lab → · Contrast checker → · Palette generator →

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