#2E7EB5#2E7EB5

#2E7EB5 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.114 H 242.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2E7EB5
RGBrgb(46, 126, 181)
HSLhsl(204, 59%, 45%)
HSVhsv(204, 75%, 71%)
CMYKcmyk(74.6%, 30.4%, 0%, 29%)
CIE-LABlab(50.50, -5.32, -35.91)
CIE-LCHlch(50.50, 36.30, 261.57°)
OKLaboklab(57.03% -0.0522 -0.1017)
OKLCHoklch(57.03% 0.114 242.8)
XYZxyz(16.9248, 18.8368, 46.4510)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7EB5 #B5652E
analogous
#2EB5A8 #2E7EB5 #2E3BB5
triadic
#2E7EB5 #B52E7E #7EB52E
tetradic
#2E7EB5 #A82EB5 #B5652E #3BB52E
square
#2E7EB5 #A82EB5 #B5652E #3BB52E
split-complementary
#2E7EB5 #B52E3B #B5A82E
monochromatic
#153A53 #225C84 #2E7EB5 #4E9CD2 #7FB8DE

Accessibility & contrast

On white

4.40
#2E7EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2E7EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7EB5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7EB5#FFFFFF#000000##000000
##2E7EB51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB7
Deuteranopia (green-blind)
#5273B4
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e7eb5;
/* rgb */ color: rgb(46, 126, 181);
/* oklch */ color: oklch(57.0% 0.114 242.8);
Tailwind
colors: {
  custom: {
    50: '#79a3cb',
    500: '#2e7eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e7eb5;
$custom-light: #79a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7eb5",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 204.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.11427,
    "h": 242.8
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#2E7EB5
secondary
#C79878
accent
#8545E3
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E7EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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