#338DAA#338DAA

#338DAA is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.3% C 0.094 H 223.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#338DAA
RGBrgb(51, 141, 170)
HSLhsl(195, 54%, 43%)
HSVhsv(195, 70%, 67%)
CMYKcmyk(70%, 17.1%, 0%, 33.3%)
CIE-LABlab(54.71, -16.91, -23.02)
CIE-LCHlch(54.71, 28.56, 233.69°)
OKLaboklab(60.27% -0.0685 -0.0643)
OKLCHoklch(60.27% 0.094 223.2)
XYZxyz(18.1429, 22.6538, 41.4389)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338DAA #AA5033
analogous
#33AA8B #338DAA #3351AA
triadic
#338DAA #AA338D #8DAA33
tetradic
#338DAA #8B33AA #AA5033 #51AA33
square
#338DAA #8B33AA #AA5033 #51AA33
split-complementary
#338DAA #AA3351 #AA8B33
monochromatic
#173F4C #25667B #338DAA #50ADCA #7FC3D9

Accessibility & contrast

On white

3.80
#338DAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#338DAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338DAA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338DAA#FFFFFF#000000##000000
##338DAA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8AAC
Deuteranopia (green-blind)
#6C7EAA
Tritanopia (blue-blind)
#009696
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338daa;
/* rgb */ color: rgb(51, 141, 170);
/* oklch */ color: oklch(60.3% 0.094 223.2);
Tailwind
colors: {
  custom: {
    50: '#7aaec3',
    500: '#338daa',
    950: '#000000',
  },
}
SCSS
$custom: #338daa;
$custom-light: #7aaec3;
$custom-dark: #000000;
JSON
{
  "hex": "#338daa",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 170
  },
  "hsl": {
    "h": 194.622,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.09395,
    "h": 223.2
  },
  "luminance": 0.22656
}

Semantic roles & 50–950 ramp

primary
#338DAA
secondary
#C28977
accent
#6E4BDD
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #338DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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