#338CAA#338CAA

#338CAA is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.0% C 0.094 H 224.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#338CAA
RGBrgb(51, 140, 170)
HSLhsl(195, 54%, 43%)
HSVhsv(195, 70%, 67%)
CMYKcmyk(70%, 17.6%, 0%, 33.3%)
CIE-LABlab(54.41, -16.37, -23.49)
CIE-LCHlch(54.41, 28.63, 235.13°)
OKLaboklab(60.02% -0.0674 -0.0657)
OKLCHoklch(60.02% 0.094 224.2)
XYZxyz(17.9961, 22.3602, 41.3899)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338CAA #AA5133
analogous
#33AA8C #338CAA #3350AA
triadic
#338CAA #AA338C #8CAA33
tetradic
#338CAA #8C33AA #AA5133 #50AA33
square
#338CAA #8C33AA #AA5133 #50AA33
split-complementary
#338CAA #AA3350 #AA8C33
monochromatic
#173E4C #25657B #338CAA #50ACCA #7FC2D9

Accessibility & contrast

On white

3.84
#338CAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#338CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338CAA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338CAA#FFFFFF#000000##000000
##338CAA1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B89AC
Deuteranopia (green-blind)
#6B7DAA
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #338caa;
/* rgb */ color: rgb(51, 140, 170);
/* oklch */ color: oklch(60.0% 0.094 224.2);
Tailwind
colors: {
  custom: {
    50: '#7aadc3',
    500: '#338caa',
    950: '#000000',
  },
}
SCSS
$custom: #338caa;
$custom-light: #7aadc3;
$custom-dark: #000000;
JSON
{
  "hex": "#338caa",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 170
  },
  "hsl": {
    "h": 195.126,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.09413,
    "h": 224.2
  },
  "luminance": 0.22362
}

Semantic roles & 50–950 ramp

primary
#338CAA
secondary
#C28A77
accent
#704BDD
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #338CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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