#338FA3#338FA3

#338FA3 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.5% C 0.090 H 215.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#338FA3
RGBrgb(51, 143, 163)
HSLhsl(191, 52%, 42%)
HSVhsv(191, 69%, 64%)
CMYKcmyk(68.7%, 12.3%, 0%, 36.1%)
CIE-LABlab(55.06, -20.26, -18.47)
CIE-LCHlch(55.06, 27.42, 222.34°)
OKLaboklab(60.46% -0.0734 -0.0514)
OKLCHoklch(60.46% 0.09 215)
XYZxyz(17.7958, 22.9911, 38.1431)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338FA3 #A34733
analogous
#33A37F #338FA3 #3357A3
triadic
#338FA3 #A3338F #8FA333
tetradic
#338FA3 #7F33A3 #A34733 #57A333
square
#338FA3 #7F33A3 #A34733 #57A333
split-complementary
#338FA3 #A33357 #A37F33
monochromatic
#163D46 #246674 #338FA3 #4CB1C7 #7BC5D6

Accessibility & contrast

On white

3.75
#338FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#338FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338FA3
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338FA3#FFFFFF#000000##000000
##338FA31.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#818AA4
Deuteranopia (green-blind)
#717FA3
Tritanopia (blue-blind)
#009695
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #338fa3;
/* rgb */ color: rgb(51, 143, 163);
/* oklch */ color: oklch(60.5% 0.090 215.0);
Tailwind
colors: {
  custom: {
    50: '#79b0be',
    500: '#338fa3',
    950: '#000000',
  },
}
SCSS
$custom: #338fa3;
$custom-light: #79b0be;
$custom-dark: #000000;
JSON
{
  "hex": "#338fa3",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 163
  },
  "hsl": {
    "h": 190.714,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.0896,
    "h": 215
  },
  "luminance": 0.22993
}

Semantic roles & 50–950 ramp

primary
#338FA3
secondary
#BE8173
accent
#664CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #338FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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