#2893B2#2893B2

#2893B2 is a mid, moderate cyan. Relative luminance 0.245; OKLCH L 61.8% C 0.103 H 222.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2893B2
RGBrgb(40, 147, 178)
HSLhsl(193, 63%, 43%)
HSVhsv(193, 78%, 70%)
CMYKcmyk(77.5%, 17.4%, 0%, 30.2%)
CIE-LABlab(56.62, -18.90, -24.68)
CIE-LCHlch(56.62, 31.09, 232.55°)
OKLaboklab(61.82% -0.0765 -0.0691)
OKLCHoklch(61.82% 0.103 222.1)
XYZxyz(19.3413, 24.5306, 45.8263)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2893B2 #B24728
analogous
#28B28C #2893B2 #284EB2
triadic
#2893B2 #B22893 #93B228
tetradic
#2893B2 #8C28B2 #B24728 #4EB228
square
#2893B2 #8C28B2 #B24728 #4EB228
split-complementary
#2893B2 #B2284E #B28C28
monochromatic
#12404E #1D6A80 #2893B2 #43B4D5 #75C8E0

Accessibility & contrast

On white

3.56
#2893B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#2893B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2893B2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2893B2#FFFFFF#000000##000000
##2893B21.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB4
Deuteranopia (green-blind)
#6E82B2
Tritanopia (blue-blind)
#009D9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2893b2;
/* rgb */ color: rgb(40, 147, 178);
/* oklch */ color: oklch(61.8% 0.103 222.1);
Tailwind
colors: {
  custom: {
    50: '#78b2c9',
    500: '#2893b2',
    950: '#000000',
  },
}
SCSS
$custom: #2893b2;
$custom-light: #78b2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2893b2",
  "rgb": {
    "r": 40,
    "g": 147,
    "b": 178
  },
  "hsl": {
    "h": 193.478,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61824,
    "c": 0.1031,
    "h": 222.1
  },
  "luminance": 0.24533
}

Semantic roles & 50–950 ramp

primary
#2893B2
secondary
#C7826F
accent
#6641E6
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2893B2

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

Preview Lab → · Contrast checker → · Palette generator →

#2893B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva