#2E579B#2E579B

#2E579B is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.120 H 260.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2E579B
RGBrgb(46, 87, 155)
HSLhsl(217, 54%, 39%)
HSVhsv(217, 70%, 61%)
CMYKcmyk(70.3%, 43.9%, 0%, 39.2%)
CIE-LABlab(37.41, 9.30, -41.35)
CIE-LCHlch(37.41, 42.38, 282.67°)
OKLaboklab(46.33% -0.0209 -0.1181)
OKLCHoklch(46.33% 0.12 260)
XYZxyz(10.4492, 9.7627, 32.3377)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E579B #9B722E
analogous
#2E8E9B #2E579B #3B2E9B
triadic
#2E579B #9B2E57 #579B2E
tetradic
#2E579B #9B2E8E #9B722E #2E9B3B
square
#2E579B #9B2E8E #9B722E #2E9B3B
split-complementary
#2E579B #9B3B2E #8E9B2E
monochromatic
#12223D #203D6C #2E579B #4072C6 #6F95D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E579B#FFFFFF#000000##FFFFFF
##2E579B1.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)
#365D9E
Deuteranopia (green-blind)
#24539A
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e579b;
/* rgb */ color: rgb(46, 87, 155);
/* oklch */ color: oklch(46.3% 0.120 260.0);
Tailwind
colors: {
  custom: {
    50: '#7485b9',
    500: '#2e579b',
    950: '#000000',
  },
}
SCSS
$custom: #2e579b;
$custom-light: #7485b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e579b",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 217.431,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46331,
    "c": 0.11998,
    "h": 260
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#2E579B
secondary
#BC9D69
accent
#A64ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E579B

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

Preview Lab → · Contrast checker → · Palette generator →

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