#2E5CDC#2E5CDC

#2E5CDC is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.3% C 0.202 H 265.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2E5CDC
RGBrgb(46, 92, 220)
HSLhsl(224, 71%, 52%)
HSVhsv(224, 79%, 86%)
CMYKcmyk(79.1%, 58.2%, 0%, 13.7%)
CIE-LABlab(43.36, 30.56, -69.73)
CIE-LCHlch(43.36, 76.13, 293.67°)
OKLaboklab(52.3% -0.0177 -0.2015)
OKLCHoklch(52.3% 0.202 265)
XYZxyz(17.8676, 13.4003, 69.3411)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CDC #DCAE2E
analogous
#2EB3DC #2E5CDC #572EDC
triadic
#2E5CDC #DC2E5C #5CDC2E
tetradic
#2E5CDC #DC2EB3 #DCAE2E #2EDC57
square
#2E5CDC #DC2EB3 #DCAE2E #2EDC57
split-complementary
#2E5CDC #DC572E #B3DC2E
monochromatic
#15307B #1D44AF #2E5CDC #6285E5 #97AEEE

Accessibility & contrast

On white

5.71
#2E5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2E5CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5CDC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CDC#FFFFFF#000000##FFFFFF
##2E5CDC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2e5cdc;
/* rgb */ color: rgb(46, 92, 220);
/* oklch */ color: oklch(52.3% 0.202 265.0);
Tailwind
colors: {
  custom: {
    50: '#8289e8',
    500: '#2e5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #2e5cdc;
$custom-light: #8289e8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5cdc",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 224.138,
    "s": 71.311,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.20228,
    "h": 265
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#2E5CDC
secondary
#D9C58D
accent
#BE3AEE
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2E5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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