#2E57AF#2E57AF

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

Color values

HEX#2E57AF
RGBrgb(46, 87, 175)
HSLhsl(221, 58%, 43%)
HSVhsv(221, 74%, 69%)
CMYKcmyk(73.7%, 50.3%, 0%, 31.4%)
CIE-LABlab(38.71, 16.88, -51.18)
CIE-LCHlch(38.71, 53.89, 288.26°)
OKLaboklab(47.74% -0.0176 -0.1471)
OKLCHoklch(47.74% 0.148 263.2)
XYZxyz(12.2700, 10.4910, 41.9274)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57AF #AF862E
analogous
#2E97AF #2E57AF #452EAF
triadic
#2E57AF #AF2E57 #57AF2E
tetradic
#2E57AF #AF2E97 #AF862E #2EAF45
square
#2E57AF #AF2E97 #AF862E #2EAF45
split-complementary
#2E57AF #AF452E #97AF2E
monochromatic
#15274E #213F7F #2E57AF #4B75D0 #7B9ADC

Accessibility & contrast

On white

6.78
#2E57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2E57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57AF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57AF#FFFFFF#000000##FFFFFF
##2E57AF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e57af;
/* rgb */ color: rgb(46, 87, 175);
/* oklch */ color: oklch(47.7% 0.148 263.2);
Tailwind
colors: {
  custom: {
    50: '#7885c7',
    500: '#2e57af',
    950: '#000000',
  },
}
SCSS
$custom: #2e57af;
$custom-light: #7885c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57af",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 220.93,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.14812,
    "h": 263.2
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#2E57AF
secondary
#C5AB74
accent
#B046E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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