#2E8FAC#2E8FAC

#2E8FAC is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.7% C 0.097 H 222.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2E8FAC
RGBrgb(46, 143, 172)
HSLhsl(194, 58%, 43%)
HSVhsv(194, 73%, 67%)
CMYKcmyk(73.3%, 16.9%, 0%, 32.5%)
CIE-LABlab(55.28, -18.04, -23.30)
CIE-LCHlch(55.28, 29.47, 232.26°)
OKLaboklab(60.71% -0.0723 -0.0652)
OKLCHoklch(60.71% 0.097 222)
XYZxyz(18.3925, 23.2022, 42.5308)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E8FAC #AC4B2E
analogous
#2EAC8A #2E8FAC #2E50AC
triadic
#2E8FAC #AC2E8F #8FAC2E
tetradic
#2E8FAC #8A2EAC #AC4B2E #50AC2E
square
#2E8FAC #8A2EAC #AC4B2E #50AC2E
split-complementary
#2E8FAC #AC2E50 #AC8A2E
monochromatic
#143F4B #21677C #2E8FAC #49B0CE #79C5DB

Accessibility & contrast

On white

3.72
#2E8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2E8FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E8FAC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E8FAC#FFFFFF#000000##000000
##2E8FAC1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8BAE
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2e8fac;
/* rgb */ color: rgb(46, 143, 172);
/* oklch */ color: oklch(60.7% 0.097 222.0);
Tailwind
colors: {
  custom: {
    50: '#79b0c4',
    500: '#2e8fac',
    950: '#000000',
  },
}
SCSS
$custom: #2e8fac;
$custom-light: #79b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e8fac",
  "rgb": {
    "r": 46,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 193.81,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.0973,
    "h": 222
  },
  "luminance": 0.23204
}

Semantic roles & 50–950 ramp

primary
#2E8FAC
secondary
#C38572
accent
#6A47E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2E8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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