#2E579A#2E579A

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

Color values

HEX#2E579A
RGBrgb(46, 87, 154)
HSLhsl(217, 54%, 39%)
HSVhsv(217, 70%, 60%)
CMYKcmyk(70.1%, 43.5%, 0%, 39.6%)
CIE-LABlab(37.35, 8.92, -40.84)
CIE-LCHlch(37.35, 41.81, 282.32°)
OKLaboklab(46.26% -0.0211 -0.1167)
OKLCHoklch(46.26% 0.119 259.7)
XYZxyz(10.3656, 9.7293, 31.8972)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E579A #9A712E
analogous
#2E8D9A #2E579A #3B2E9A
triadic
#2E579A #9A2E57 #579A2E
tetradic
#2E579A #9A2E8D #9A712E #2E9A3B
square
#2E579A #9A2E8D #9A712E #2E9A3B
split-complementary
#2E579A #9A3B2E #8D9A2E
monochromatic
#12223C #203C6B #2E579A #3F72C6 #6F95D4

Accessibility & contrast

On white

7.13
#2E579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E579A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E579A#FFFFFF#000000##FFFFFF
##2E579A1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e579a;
/* rgb */ color: rgb(46, 87, 154);
/* oklch */ color: oklch(46.3% 0.119 259.7);
Tailwind
colors: {
  custom: {
    50: '#7485b8',
    500: '#2e579a',
    950: '#000000',
  },
}
SCSS
$custom: #2e579a;
$custom-light: #7485b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e579a",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 217.222,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.11856,
    "h": 259.7
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#2E579A
secondary
#BB9C69
accent
#A64ADD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2E579A

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

Preview Lab → · Contrast checker → · Palette generator →

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