#338BB9#338BB9

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

Color values

HEX#338BB9
RGBrgb(51, 139, 185)
HSLhsl(201, 57%, 46%)
HSVhsv(201, 72%, 73%)
CMYKcmyk(72.4%, 24.9%, 0%, 27.5%)
CIE-LABlab(54.73, -10.73, -31.57)
CIE-LCHlch(54.73, 33.34, 251.23°)
OKLaboklab(60.49% -0.0609 -0.0889)
OKLCHoklch(60.49% 0.108 235.6)
XYZxyz(19.3514, 22.6696, 49.2453)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338BB9 #B96133
analogous
#33B9A4 #338BB9 #3348B9
triadic
#338BB9 #B9338B #8BB933
tetradic
#338BB9 #A433B9 #B96133 #48B933
square
#338BB9 #A433B9 #B96133 #48B933
split-complementary
#338BB9 #B93348 #B9A433
monochromatic
#194359 #266789 #338BB9 #58A8D1 #88C1DE

Accessibility & contrast

On white

3.79
#338BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338BB9#FFFFFF#000000##000000
##338BB91.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#758ABB
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#00979B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338bb9;
/* rgb */ color: rgb(51, 139, 185);
/* oklch */ color: oklch(60.5% 0.108 235.6);
Tailwind
colors: {
  custom: {
    50: '#7cacce',
    500: '#338bb9',
    950: '#000000',
  },
}
SCSS
$custom: #338bb9;
$custom-light: #7cacce;
$custom-dark: #000000;
JSON
{
  "hex": "#338bb9",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 185
  },
  "hsl": {
    "h": 200.597,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60487,
    "c": 0.10776,
    "h": 235.6
  },
  "luminance": 0.22672
}

Semantic roles & 50–950 ramp

primary
#338BB9
secondary
#C89980
accent
#7C48E0
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #338BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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