#2E579F#2E579F

#2E579F is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.126 H 260.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2E579F
RGBrgb(46, 87, 159)
HSLhsl(218, 55%, 40%)
HSVhsv(218, 71%, 62%)
CMYKcmyk(71.1%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.66, 10.81, -43.35)
CIE-LCHlch(37.66, 44.68, 284.00°)
OKLaboklab(46.6% -0.0202 -0.124)
OKLCHoklch(46.6% 0.126 260.8)
XYZxyz(10.7907, 9.8993, 34.1362)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E579F #9F762E
analogous
#2E8F9F #2E579F #3D2E9F
triadic
#2E579F #9F2E57 #579F2E
tetradic
#2E579F #9F2E8F #9F762E #2E9F3D
square
#2E579F #9F2E8F #9F762E #2E9F3D
split-complementary
#2E579F #9F3D2E #8F9F2E
monochromatic
#132340 #203D70 #2E579F #4273C8 #7196D6

Accessibility & contrast

On white

7.05
#2E579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2E579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E579F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E579F#FFFFFF#000000##FFFFFF
##2E579F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#1E549E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e579f;
/* rgb */ color: rgb(46, 87, 159);
/* oklch */ color: oklch(46.6% 0.126 260.8);
Tailwind
colors: {
  custom: {
    50: '#7585bc',
    500: '#2e579f',
    950: '#000000',
  },
}
SCSS
$custom: #2e579f;
$custom-light: #7585bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e579f",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 218.23,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46603,
    "c": 0.12565,
    "h": 260.8
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#2E579F
secondary
#BEA06B
accent
#A849DE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2E579F

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

Preview Lab → · Contrast checker → · Palette generator →

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