#338FAE#338FAE

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

Color values

HEX#338FAE
RGBrgb(51, 143, 174)
HSLhsl(195, 55%, 44%)
HSVhsv(195, 71%, 68%)
CMYKcmyk(70.7%, 17.8%, 0%, 31.8%)
CIE-LABlab(55.48, -16.67, -24.12)
CIE-LCHlch(55.48, 29.32, 235.35°)
OKLaboklab(60.94% -0.069 -0.0675)
OKLCHoklch(60.94% 0.096 224.4)
XYZxyz(18.8246, 23.4026, 43.5612)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338FAE #AE5233
analogous
#33AE90 #338FAE #3352AE
triadic
#338FAE #AE338F #8FAE33
tetradic
#338FAE #9033AE #AE5233 #52AE33
square
#338FAE #9033AE #AE5233 #52AE33
split-complementary
#338FAE #AE3352 #AE9033
monochromatic
#17414F #25687F #338FAE #52ADCC #81C4DA

Accessibility & contrast

On white

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

On black

5.68
#338FAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338FAE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338FAE#FFFFFF#000000##000000
##338FAE1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #338fae;
/* rgb */ color: rgb(51, 143, 174);
/* oklch */ color: oklch(60.9% 0.096 224.4);
Tailwind
colors: {
  custom: {
    50: '#7bb0c6',
    500: '#338fae',
    950: '#000000',
  },
}
SCSS
$custom: #338fae;
$custom-light: #7bb0c6;
$custom-dark: #000000;
JSON
{
  "hex": "#338fae",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 174
  },
  "hsl": {
    "h": 195.122,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60938,
    "c": 0.09649,
    "h": 224.4
  },
  "luminance": 0.23405
}

Semantic roles & 50–950 ramp

primary
#338FAE
secondary
#C38C79
accent
#6F4ADE
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #338FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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