#2E7AAD#2E7AAD

#2E7AAD is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.108 H 242.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2E7AAD
RGBrgb(46, 122, 173)
HSLhsl(204, 58%, 43%)
HSVhsv(204, 73%, 68%)
CMYKcmyk(73.4%, 29.5%, 0%, 32.2%)
CIE-LABlab(48.90, -5.84, -33.78)
CIE-LCHlch(48.90, 34.29, 260.19°)
OKLaboklab(55.64% -0.0508 -0.0955)
OKLCHoklch(55.64% 0.108 242)
XYZxyz(15.6261, 17.5153, 42.0843)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7AAD #AD612E
analogous
#2EADA0 #2E7AAD #2E3BAD
triadic
#2E7AAD #AD2E7A #7AAD2E
tetradic
#2E7AAD #A02EAD #AD612E #3BAD2E
square
#2E7AAD #A02EAD #AD612E #3BAD2E
split-complementary
#2E7AAD #AD2E3B #ADA02E
monochromatic
#14364C #21587D #2E7AAD #4999CF #7AB4DC

Accessibility & contrast

On white

4.66
#2E7AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2E7AAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7AAD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7AAD#FFFFFF#000000##FFFFFF
##2E7AAD1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627BAF
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e7aad;
/* rgb */ color: rgb(46, 122, 173);
/* oklch */ color: oklch(55.6% 0.108 242.0);
Tailwind
colors: {
  custom: {
    50: '#78a0c5',
    500: '#2e7aad',
    950: '#000000',
  },
}
SCSS
$custom: #2e7aad;
$custom-light: #78a0c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7aad",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 173
  },
  "hsl": {
    "h": 204.094,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.10819,
    "h": 242
  },
  "luminance": 0.17517
}

Semantic roles & 50–950 ramp

primary
#2E7AAD
secondary
#C49373
accent
#8547E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E7AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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