#2E5CC7#2E5CC7

#2E5CC7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.175 H 263.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2E5CC7
RGBrgb(46, 92, 199)
HSLhsl(222, 62%, 48%)
HSVhsv(222, 77%, 78%)
CMYKcmyk(76.9%, 53.8%, 0%, 22%)
CIE-LABlab(41.78, 22.71, -60.24)
CIE-LCHlch(41.78, 64.38, 290.65°)
OKLaboklab(50.61% -0.019 -0.1736)
OKLCHoklch(50.61% 0.175 263.7)
XYZxyz(15.2590, 12.3569, 55.6027)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5CC7 #C7992E
analogous
#2EA8C7 #2E5CC7 #4D2EC7
triadic
#2E5CC7 #C72E5C #5CC72E
tetradic
#2E5CC7 #C72EA8 #C7992E #2EC74D
square
#2E5CC7 #C72EA8 #C7992E #2EC74D
split-complementary
#2E5CC7 #C74D2E #A8C72E
monochromatic
#172E64 #234595 #2E5CC7 #5980D9 #8BA6E4

Accessibility & contrast

On white

6.05
#2E5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2E5CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5CC7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5CC7#FFFFFF#000000##FFFFFF
##2E5CC71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e5cc7;
/* rgb */ color: rgb(46, 92, 199);
/* oklch */ color: oklch(50.6% 0.175 263.7);
Tailwind
colors: {
  custom: {
    50: '#7d89d9',
    500: '#2e5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #2e5cc7;
$custom-light: #7d89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5cc7",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 221.961,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.17468,
    "h": 263.7
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#2E5CC7
secondary
#CEB783
accent
#B442E6
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2E5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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