#2E57AE#2E57AE

#2E57AE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.147 H 263.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2E57AE
RGBrgb(46, 87, 174)
HSLhsl(221, 58%, 43%)
HSVhsv(221, 74%, 68%)
CMYKcmyk(73.6%, 50%, 0%, 31.8%)
CIE-LABlab(38.64, 16.50, -50.70)
CIE-LCHlch(38.64, 53.31, 288.03°)
OKLaboklab(47.67% -0.0178 -0.1456)
OKLCHoklch(47.67% 0.147 263)
XYZxyz(12.1722, 10.4519, 41.4121)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57AE #AE852E
analogous
#2E97AE #2E57AE #452EAE
triadic
#2E57AE #AE2E57 #57AE2E
tetradic
#2E57AE #AE2E97 #AE852E #2EAE45
square
#2E57AE #AE2E97 #AE852E #2EAE45
split-complementary
#2E57AE #AE452E #97AE2E
monochromatic
#14274D #213F7E #2E57AE #4A75CF #7A9ADC

Accessibility & contrast

On white

6.79
#2E57AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2E57AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57AE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57AE#FFFFFF#000000##FFFFFF
##2E57AE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e57ae;
/* rgb */ color: rgb(46, 87, 174);
/* oklch */ color: oklch(47.7% 0.147 263.0);
Tailwind
colors: {
  custom: {
    50: '#7885c7',
    500: '#2e57ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e57ae;
$custom-light: #7885c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57ae",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 220.781,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4767,
    "c": 0.14672,
    "h": 263
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#2E57AE
secondary
#C4AA74
accent
#B046E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E57AE

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

Preview Lab → · Contrast checker → · Palette generator →

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