#2E7BD7#2E7BD7

#2E7BD7 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.4% C 0.159 H 255.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2E7BD7
RGBrgb(46, 123, 215)
HSLhsl(213, 68%, 51%)
HSVhsv(213, 79%, 84%)
CMYKcmyk(78.6%, 42.8%, 0%, 15.7%)
CIE-LABlab(51.44, 9.02, -53.83)
CIE-LCHlch(51.44, 54.58, 279.51°)
OKLaboklab(58.36% -0.0407 -0.1542)
OKLCHoklch(58.36% 0.159 255.2)
XYZxyz(20.4708, 19.6506, 66.9908)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7BD7 #D78A2E
analogous
#2ECFD7 #2E7BD7 #352ED7
triadic
#2E7BD7 #D72E7B #7BD72E
tetradic
#2E7BD7 #D72ECF #D78A2E #2ED735
square
#2E7BD7 #D72ECF #D78A2E #2ED735
split-complementary
#2E7BD7 #D7352E #CFD72E
monochromatic
#164174 #205EA8 #2E7BD7 #619BE1 #95BCEB

Accessibility & contrast

On white

4.26
#2E7BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2E7BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7BD7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7BD7#FFFFFF#000000##000000
##2E7BD71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D83DB
Deuteranopia (green-blind)
#2C74D5
Tritanopia (blue-blind)
#00919E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e7bd7;
/* rgb */ color: rgb(46, 123, 215);
/* oklch */ color: oklch(58.4% 0.159 255.2);
Tailwind
colors: {
  custom: {
    50: '#80a0e4',
    500: '#2e7bd7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7bd7;
$custom-light: #80a0e4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7bd7",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 212.663,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.15947,
    "h": 255.2
  },
  "luminance": 0.19653
}

Semantic roles & 50–950 ramp

primary
#2E7BD7
secondary
#D6B48B
accent
#9C3DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #2E7BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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