#338BBD#338BBD

#338BBD is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.7% C 0.112 H 237.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#338BBD
RGBrgb(51, 139, 189)
HSLhsl(202, 58%, 47%)
HSVhsv(202, 73%, 74%)
CMYKcmyk(73%, 26.5%, 0%, 25.9%)
CIE-LABlab(54.91, -9.34, -33.57)
CIE-LCHlch(54.91, 34.85, 254.45°)
OKLaboklab(60.69% -0.0595 -0.0947)
OKLCHoklch(60.69% 0.112 237.8)
XYZxyz(19.7796, 22.8409, 51.5005)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338BBD #BD6533
analogous
#33BDAA #338BBD #3346BD
triadic
#338BBD #BD338B #8BBD33
tetradic
#338BBD #AA33BD #BD6533 #46BD33
square
#338BBD #AA33BD #BD6533 #46BD33
split-complementary
#338BBD #BD3346 #BDAA33
monochromatic
#19445D #26688D #338BBD #5BA7D3 #8BC1E0

Accessibility & contrast

On white

3.77
#338BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#338BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338BBD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338BBD#FFFFFF#000000##000000
##338BBD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BBF
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#00989C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #338bbd;
/* rgb */ color: rgb(51, 139, 189);
/* oklch */ color: oklch(60.7% 0.112 237.8);
Tailwind
colors: {
  custom: {
    50: '#7dacd1',
    500: '#338bbd',
    950: '#000000',
  },
}
SCSS
$custom: #338bbd;
$custom-light: #7dacd1;
$custom-dark: #000000;
JSON
{
  "hex": "#338bbd",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 189
  },
  "hsl": {
    "h": 201.739,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.11186,
    "h": 237.8
  },
  "luminance": 0.22843
}

Semantic roles & 50–950 ramp

primary
#338BBD
secondary
#CA9C82
accent
#7F47E1
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #338BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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