#338EAD#338EAD

#338EAD is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.6% C 0.096 H 224.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#338EAD
RGBrgb(51, 142, 173)
HSLhsl(195, 54%, 44%)
HSVhsv(195, 71%, 68%)
CMYKcmyk(70.5%, 17.9%, 0%, 32.2%)
CIE-LABlab(55.14, -16.46, -24.08)
CIE-LCHlch(55.14, 29.17, 235.65°)
OKLaboklab(60.65% -0.0683 -0.0673)
OKLCHoklch(60.65% 0.096 224.6)
XYZxyz(18.5780, 23.0648, 42.9999)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338EAD #AD5233
analogous
#33AD8F #338EAD #3351AD
triadic
#338EAD #AD338E #8EAD33
tetradic
#338EAD #8F33AD #AD5233 #51AD33
square
#338EAD #8F33AD #AD5233 #51AD33
split-complementary
#338EAD #AD3351 #AD8F33
monochromatic
#17404E #25677E #338EAD #51ADCC #81C3DA

Accessibility & contrast

On white

3.74
#338EAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#338EAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338EAD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338EAD#FFFFFF#000000##000000
##338EAD1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8BAF
Deuteranopia (green-blind)
#6C7FAD
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #338ead;
/* rgb */ color: rgb(51, 142, 173);
/* oklch */ color: oklch(60.6% 0.096 224.6);
Tailwind
colors: {
  custom: {
    50: '#7bafc5',
    500: '#338ead',
    950: '#000000',
  },
}
SCSS
$custom: #338ead;
$custom-light: #7bafc5;
$custom-dark: #000000;
JSON
{
  "hex": "#338ead",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 173
  },
  "hsl": {
    "h": 195.246,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.09596,
    "h": 224.6
  },
  "luminance": 0.23067
}

Semantic roles & 50–950 ramp

primary
#338EAD
secondary
#C38C79
accent
#704ADE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #338EAD

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

Preview Lab → · Contrast checker → · Palette generator →

#338EAD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva