#2E7FA2#2E7FA2

#2E7FA2 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.094 H 230.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2E7FA2
RGBrgb(46, 127, 162)
HSLhsl(198, 56%, 41%)
HSVhsv(198, 72%, 64%)
CMYKcmyk(71.6%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.94, -12.61, -25.78)
CIE-LCHlch(49.94, 28.69, 243.93°)
OKLaboklab(56.3% -0.0597 -0.0723)
OKLCHoklch(56.3% 0.094 230.5)
XYZxyz(15.2351, 18.3665, 36.9176)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FA2 #A2512E
analogous
#2EA28B #2E7FA2 #2E45A2
triadic
#2E7FA2 #A22E7F #7FA22E
tetradic
#2E7FA2 #8B2EA2 #A2512E #45A22E
square
#2E7FA2 #8B2EA2 #A2512E #45A22E
split-complementary
#2E7FA2 #A22E45 #A28B2E
monochromatic
#133443 #205A72 #2E7FA2 #43A1CA #73B9D7

Accessibility & contrast

On white

4.49
#2E7FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#2E7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7FA2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7FA2#FFFFFF#000000##000000
##2E7FA21.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2e7fa2;
/* rgb */ color: rgb(46, 127, 162);
/* oklch */ color: oklch(56.3% 0.094 230.5);
Tailwind
colors: {
  custom: {
    50: '#76a4bd',
    500: '#2e7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fa2;
$custom-light: #76a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fa2",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 198.103,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.09377,
    "h": 230.5
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#2E7FA2
secondary
#BF866D
accent
#7649DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2E7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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