#338FAD#338FAD

#338FAD is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 60.9% C 0.096 H 223.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#338FAD
RGBrgb(51, 143, 173)
HSLhsl(195, 54%, 44%)
HSVhsv(195, 71%, 68%)
CMYKcmyk(70.5%, 17.3%, 0%, 32.2%)
CIE-LABlab(55.45, -17.00, -23.61)
CIE-LCHlch(55.45, 29.10, 234.24°)
OKLaboklab(60.89% -0.0694 -0.066)
OKLCHoklch(60.89% 0.096 223.6)
XYZxyz(18.7274, 23.3637, 43.0497)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338FAD #AD5133
analogous
#33AD8E #338FAD #3352AD
triadic
#338FAD #AD338F #8FAD33
tetradic
#338FAD #8E33AD #AD5133 #52AD33
square
#338FAD #8E33AD #AD5133 #52AD33
split-complementary
#338FAD #AD3352 #AD8E33
monochromatic
#17414E #25687E #338FAD #51AECC #81C4DA

Accessibility & contrast

On white

3.70
#338FAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#338FAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338FAD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338FAD#FFFFFF#000000##000000
##338FAD1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8CAF
Deuteranopia (green-blind)
#6D7FAD
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #338fad;
/* rgb */ color: rgb(51, 143, 173);
/* oklch */ color: oklch(60.9% 0.096 223.6);
Tailwind
colors: {
  custom: {
    50: '#7bb0c5',
    500: '#338fad',
    950: '#000000',
  },
}
SCSS
$custom: #338fad;
$custom-light: #7bb0c5;
$custom-dark: #000000;
JSON
{
  "hex": "#338fad",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 173
  },
  "hsl": {
    "h": 194.754,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60893,
    "c": 0.09576,
    "h": 223.6
  },
  "luminance": 0.23366
}

Semantic roles & 50–950 ramp

primary
#338FAD
secondary
#C38B79
accent
#6E4ADE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #338FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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