#2E7FAD#2E7FAD

#2E7FAD is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.8% C 0.105 H 237.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2E7FAD
RGBrgb(46, 127, 173)
HSLhsl(202, 58%, 43%)
HSVhsv(202, 73%, 68%)
CMYKcmyk(73.4%, 26.6%, 0%, 32.2%)
CIE-LABlab(50.42, -8.76, -31.41)
CIE-LCHlch(50.42, 32.61, 254.41°)
OKLaboklab(56.85% -0.0558 -0.0886)
OKLCHoklch(56.85% 0.105 237.8)
XYZxyz(16.2559, 18.7749, 42.2942)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FAD #AD5C2E
analogous
#2EAD9B #2E7FAD #2E40AD
triadic
#2E7FAD #AD2E7F #7FAD2E
tetradic
#2E7FAD #9B2EAD #AD5C2E #40AD2E
square
#2E7FAD #9B2EAD #AD5C2E #40AD2E
split-complementary
#2E7FAD #AD2E40 #AD9B2E
monochromatic
#14384C #215C7D #2E7FAD #499ECF #7AB8DC

Accessibility & contrast

On white

4.42
#2E7FAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2E7FAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7FAD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7FAD#FFFFFF#000000##000000
##2E7FAD1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FAF
Deuteranopia (green-blind)
#5873AC
Tritanopia (blue-blind)
#008B8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e7fad;
/* rgb */ color: rgb(46, 127, 173);
/* oklch */ color: oklch(56.8% 0.105 237.8);
Tailwind
colors: {
  custom: {
    50: '#78a4c5',
    500: '#2e7fad',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fad;
$custom-light: #78a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fad",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 173
  },
  "hsl": {
    "h": 201.732,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.10466,
    "h": 237.8
  },
  "luminance": 0.18777
}

Semantic roles & 50–950 ramp

primary
#2E7FAD
secondary
#C49073
accent
#7F47E1
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E7FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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