#338BA9#338BA9

#338BA9 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.7% C 0.094 H 224.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#338BA9
RGBrgb(51, 139, 169)
HSLhsl(195, 54%, 43%)
HSVhsv(195, 70%, 66%)
CMYKcmyk(69.8%, 17.8%, 0%, 33.7%)
CIE-LABlab(54.06, -16.15, -23.45)
CIE-LCHlch(54.06, 28.47, 235.43°)
OKLaboklab(59.73% -0.0668 -0.0656)
OKLCHoklch(59.73% 0.094 224.5)
XYZxyz(17.7564, 22.0316, 40.8451)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338BA9 #A95133
analogous
#33A98C #338BA9 #3350A9
triadic
#338BA9 #A9338B #8BA933
tetradic
#338BA9 #8C33A9 #A95133 #50A933
square
#338BA9 #8C33A9 #A95133 #50A933
split-complementary
#338BA9 #A93350 #A98C33
monochromatic
#173E4B #25647A #338BA9 #4FABCA #7EC1D8

Accessibility & contrast

On white

3.88
#338BA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#338BA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338BA9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338BA9#FFFFFF#000000##000000
##338BA91.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A88AB
Deuteranopia (green-blind)
#6A7CA9
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338ba9;
/* rgb */ color: rgb(51, 139, 169);
/* oklch */ color: oklch(59.7% 0.094 224.5);
Tailwind
colors: {
  custom: {
    50: '#7aadc2',
    500: '#338ba9',
    950: '#000000',
  },
}
SCSS
$custom: #338ba9;
$custom-light: #7aadc2;
$custom-dark: #000000;
JSON
{
  "hex": "#338ba9",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 169
  },
  "hsl": {
    "h": 195.254,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59732,
    "c": 0.09359,
    "h": 224.5
  },
  "luminance": 0.22034
}

Semantic roles & 50–950 ramp

primary
#338BA9
secondary
#C18A77
accent
#704BDD
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #338BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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