#2E6AAF#2E6AAF

#2E6AAF is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 52.0% C 0.126 H 254.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2E6AAF
RGBrgb(46, 106, 175)
HSLhsl(212, 58%, 43%)
HSVhsv(212, 74%, 69%)
CMYKcmyk(73.7%, 39.4%, 0%, 31.4%)
CIE-LABlab(44.21, 4.64, -42.37)
CIE-LCHlch(44.21, 42.62, 276.25°)
OKLaboklab(51.99% -0.0347 -0.1208)
OKLCHoklch(51.99% 0.126 254)
XYZxyz(14.0157, 13.9825, 42.5094)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6AAF #AF732E
analogous
#2EAAAF #2E6AAF #322EAF
triadic
#2E6AAF #AF2E6A #6AAF2E
tetradic
#2E6AAF #AF2EAA #AF732E #2EAF32
square
#2E6AAF #AF2EAA #AF732E #2EAF32
split-complementary
#2E6AAF #AF322E #AAAF2E
monochromatic
#152F4E #214D7F #2E6AAF #4B88D0 #7BA8DC

Accessibility & contrast

On white

5.53
#2E6AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2E6AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6AAF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6AAF#FFFFFF#000000##FFFFFF
##2E6AAF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#3663AE
Tritanopia (blue-blind)
#007A84
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e6aaf;
/* rgb */ color: rgb(46, 106, 175);
/* oklch */ color: oklch(52.0% 0.126 254.0);
Tailwind
colors: {
  custom: {
    50: '#7894c7',
    500: '#2e6aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2e6aaf;
$custom-light: #7894c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6aaf",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 175
  },
  "hsl": {
    "h": 212.093,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.12571,
    "h": 254
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#2E6AAF
secondary
#C59F74
accent
#9946E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E6AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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