#338CA6#338CA6

#338CA6 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.8% C 0.091 H 220.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#338CA6
RGBrgb(51, 140, 166)
HSLhsl(194, 53%, 43%)
HSVhsv(194, 69%, 65%)
CMYKcmyk(69.3%, 15.7%, 0%, 34.9%)
CIE-LABlab(54.25, -17.69, -21.43)
CIE-LCHlch(54.25, 27.79, 230.47°)
OKLaboklab(59.85% -0.069 -0.0598)
OKLCHoklch(59.85% 0.091 220.9)
XYZxyz(17.6234, 22.2112, 39.4274)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338CA6 #A64D33
analogous
#33A686 #338CA6 #3353A6
triadic
#338CA6 #A6338C #8CA633
tetradic
#338CA6 #8633A6 #A64D33 #53A633
square
#338CA6 #8633A6 #A64D33 #53A633
split-complementary
#338CA6 #A63353 #A68633
monochromatic
#163D48 #256577 #338CA6 #4EADC9 #7CC2D7

Accessibility & contrast

On white

3.86
#338CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#338CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338CA6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338CA6#FFFFFF#000000##000000
##338CA61.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C88A7
Deuteranopia (green-blind)
#6C7DA6
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338ca6;
/* rgb */ color: rgb(51, 140, 166);
/* oklch */ color: oklch(59.8% 0.091 220.9);
Tailwind
colors: {
  custom: {
    50: '#79adc0',
    500: '#338ca6',
    950: '#000000',
  },
}
SCSS
$custom: #338ca6;
$custom-light: #79adc0;
$custom-dark: #000000;
JSON
{
  "hex": "#338ca6",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 166
  },
  "hsl": {
    "h": 193.565,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.09132,
    "h": 220.9
  },
  "luminance": 0.22213
}

Semantic roles & 50–950 ramp

primary
#338CA6
secondary
#C08675
accent
#6C4BDC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #338CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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