#2E57B9#2E57B9

#2E57B9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.162 H 264.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2E57B9
RGBrgb(46, 87, 185)
HSLhsl(222, 60%, 45%)
HSVhsv(222, 75%, 73%)
CMYKcmyk(75.1%, 53%, 0%, 27.5%)
CIE-LABlab(39.41, 20.68, -55.93)
CIE-LCHlch(39.41, 59.63, 290.29°)
OKLaboklab(48.5% -0.0165 -0.161)
OKLCHoklch(48.5% 0.162 264.1)
XYZxyz(13.2888, 10.8985, 47.2928)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E57B9 #B9902E
analogous
#2E9CB9 #2E57B9 #4A2EB9
triadic
#2E57B9 #B92E57 #57B92E
tetradic
#2E57B9 #B92E9C #B9902E #2EB94A
square
#2E57B9 #B92E9C #B9902E #2EB94A
split-complementary
#2E57B9 #B94A2E #9CB92E
monochromatic
#162957 #224088 #2E57B9 #5177D4 #829DE0

Accessibility & contrast

On white

6.60
#2E57B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2E57B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E57B9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E57B9#FFFFFF#000000##FFFFFF
##2E57B91.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1064BC
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e57b9;
/* rgb */ color: rgb(46, 87, 185);
/* oklch */ color: oklch(48.5% 0.162 264.1);
Tailwind
colors: {
  custom: {
    50: '#7a85cf',
    500: '#2e57b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e57b9;
$custom-light: #7a85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e57b9",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 185
  },
  "hsl": {
    "h": 222.302,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48498,
    "c": 0.16189,
    "h": 264.1
  },
  "luminance": 0.109
}

Semantic roles & 50–950 ramp

primary
#2E57B9
secondary
#C9B27A
accent
#B444E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E57B9

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

Preview Lab → · Contrast checker → · Palette generator →

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